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 BankDsdzxxFilter {

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

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

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

    @ApiModelProperty(value = "对账结果 0 代收单位多帐，1 对账成功，2营销系统多帐，-2已处理已收未销账，-3已处理未收已销账")
    private String dzbz;

    @ApiModelProperty(value = "用户编号")
    private String yhbh;


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