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

import com.tofly.feesapi.common.constant.YhztEnum;
import com.tofly.feesapi.common.core.dto.SortDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.List;

@Data
@ApiModel("用户档案查询参数DTO")
public class YhkhjbxxFilter extends SortDto {

    @ApiModelProperty("关键字(用户编号、用户姓名、用户地址、联系电话)")
    private String searchText;

    @ApiModelProperty(value = "所属公司编码")
    private String ssgs;

    @ApiModelProperty(value = "所属抄表片区编码")
    private String sscbpq;

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

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

    @ApiModelProperty("用水类型编码")
    private String yslx;

    @ApiModelProperty("用户状态")
    private YhztEnum yhzt;

    @ApiModelProperty("垃圾费标志（1是，0否）")
    private String ljfbz;

    @ApiModelProperty("建档开始日期(yyyy-MM-dd)")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate jdrqStart;

    @ApiModelProperty("建档截止日期(yyyy-MM-dd)")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate jdrqEnd;

    @ApiModelProperty("抄表人员")
    private String cby;

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

    @ApiModelProperty(value = "用户姓名")
    private String yhxm;

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

    @ApiModelProperty(value = "用户地址")
    private String yhdz;

    @ApiModelProperty(value = "联系电话")
    private String lxdh;

    @ApiModelProperty("是否分配抄表本(册),已分配:true,未分配:false")
    private Boolean sffpcbb;

    @ApiModelProperty("付费关系分组号(查询分组成员)")
    private String ffgxzh;

    @ApiModelProperty(value = "付费关系标志(查询分组号用户)查询传参1")
    private String ffgxbz;

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

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

    @ApiModelProperty("水表编号")
    private String sbbh;
    @ApiModelProperty("合同编号")
    private String htbh;
    @ApiModelProperty("证件号码")
    private String zjhm;
    @ApiModelProperty("是否签订合同（0否1是）")
    private String sfqdht;

    @ApiModelProperty("签订合同开始日期(yyyy-MM-dd)")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate htqdrqStart;

    @ApiModelProperty("签订合同截止日期(yyyy-MM-dd)")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate htqdrqEnd;

    @ApiModelProperty(value = "一表多价标志")
    private String ybdjbz;

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

    @ApiModelProperty("客户类别")
    private String khlb;

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

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

    @ApiModelProperty("大小户 1-大户 0-小户")
    private Integer dxh;

    @ApiModelProperty(value = "建档日期倒序排序", hidden = true)
    private Integer jdrqdxpx;

    @ApiModelProperty(value = "水表口径")
    private String sbkj;

    @ApiModelProperty(value = "当前登录用户ID")
    private String userId;

    @ApiModelProperty(value = "模块编码")
    private String mkbm;
}
