package com.tofly.feesapi.sfds.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel("代收总账查询参数DTO")
public class BankDsdzhzFilter {

    @ApiModelProperty(value = "银行代码")
    private String yhdm;

    @ApiModelProperty(value = "账务开始日期yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date yhzwrqStart;

    @ApiModelProperty(value = "账务结束日期yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date yhzwrqEnd;

    @ApiModelProperty(value = "0 对账金额不等，1 对账完成，")
    private String dzbz;


    @ApiModelProperty(value = "Excel导出字段", example = "yhbh,yhxm")
    private String exportFields;
}
