package com.tofly.feesapi.sfgl.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.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
@ApiModel("收费明细查询参数DTO")
public class YySspjxxFilter {

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

    @ApiModelProperty("水表类别(类型)编码")
    private String sblb;

    @ApiModelProperty("水价编码")
    private String sjbm;

    @ApiModelProperty("所属公司")
    private String ssgs;

    @ApiModelProperty("所属抄表片区")
    private String sscbpq;

    @ApiModelProperty("所属抄表本")
    private String sscbb;

    //    @ApiModelProperty("收费分类 1:预存转出（含预存扣减、余额转存转出）、2:水费缴纳(含预存充值)、3:预存转入（含预存充值、余额转存转入），默认2")
//    private String sffl;
//
    @ApiModelProperty("票据状态（冲红标志）：0未冲红(正常)，1已冲红，2红票（被冲红）")
    private String chbz;

    @ApiModelProperty("收费开始日期(yyyy-MM-dd HH:mm:ss)")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sfrqStart;

    @ApiModelProperty("收费截止日期(yyyy-MM-dd HH:mm:ss)")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sfrqEnd;

    @ApiModelProperty("收费人员编码")
    private String sfrybm;

    @ApiModelProperty("抄表人员编码")
    private String cbrybm;

    @ApiModelProperty(value = "付费方式编码")
    private String fffs;

    @ApiModelProperty(value = "缴费渠道：01 营业大厅， 02 第三方代收费")
    private String jfqd;

    @ApiModelProperty("区域负责人")
    private String qyfzr;

    @ApiModelProperty("抄表开始日期(yyyy-MM-dd HH:mm:ss)")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date cbrqStart;

    @ApiModelProperty("抄表截止日期(yyyy-MM-dd HH:mm:ss)")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date cbrqEnd;

    @ApiModelProperty(value = "用户编号开始")
    private String yhbhStart;

    @ApiModelProperty(value = "用户编号结束")
    private String yhbhEnd;

    @ApiModelProperty("财务日期开始")
    private String cwrqStart;

    @ApiModelProperty("财务日期结束")
    private String cwrqEnd;

    @ApiModelProperty("用水月份开始")
    private String ysyfStart;

    @ApiModelProperty("用水月份结束")
    private String ysyfEnd;

    @ApiModelProperty("财务日期(本月)")
    private String cwrq;

    @ApiModelProperty("年份")
    private String nf;

    @ApiModelProperty("用水性质")
    private String ysxz;

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

    @ApiModelProperty(value = "发票类型")
    private String fplx;

    @ApiModelProperty("实收查询类型 1-本月 2-以前")
    private Integer queryType;

    @ApiModelProperty("客户编码")
    private String khbm;

    @ApiModelProperty("用户姓名简码")
    private String yhxmjm;

    @ApiModelProperty(value = "抄表册编码", hidden = true)
    private List<String> cbbbmList;

    @ApiModelProperty("抄表册编码")
    private String sscbbs;

    @ApiModelProperty("大小户")
    private String dxh;

    @ApiModelProperty("当前登录用户id")
    private String userId;

    @ApiModelProperty("关键字")
    private String searchText;

    @ApiModelProperty(" 0 用户编号 , 1 客户编码汇总")
    private String dhkh="0";
}
