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

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.BorderStyleEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tofly.feesapi.common.Excel.EnumConverter;
import com.tofly.feesapi.common.constant.YhztEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;
import java.util.List;


@Data
@ApiModel("用户档案列表2VO")
@ContentStyle(
        borderBottom = BorderStyleEnum.THIN,
        borderLeft = BorderStyleEnum.THIN,
        borderRight = BorderStyleEnum.THIN,
        borderTop = BorderStyleEnum.THIN,
        bottomBorderColor = 8,
        topBorderColor = 8,
        leftBorderColor = 8,
        rightBorderColor = 8
)
public class YhkhjbxxSelect2 {

    @ColumnWidth(20)
    @ExcelProperty(value = "所属片区", order = 1)
    @ApiModelProperty(value = "所属片区", position = 4)
    private String sscbpqmc;

    @ColumnWidth(20)
    @ExcelProperty(value = "所属抄表册", order = 2)
    @ApiModelProperty(value = "所属抄表册", position = 5)
    private String sscbbmc;

    @ColumnWidth(20)
    @ExcelProperty(value = "拼音简码", order = 2)
    @ApiModelProperty(value = "拼音简码", position = 5)
    private String pyjm;


    @ColumnWidth(20)
    @ExcelProperty(value = "用户编号", order = 3)
    @ApiModelProperty(value = "用户编号", position = 6)
    private String yhbh;

    @ColumnWidth(20)
    @ExcelProperty(value = "用户姓名", order = 4)
    @ApiModelProperty(value = "用户姓名", position = 8)
    private String yhxm;

    @ColumnWidth(20)
    @ExcelProperty(value = "用户地址", order = 5)
    @ApiModelProperty(value = "用户地址", position = 9)
    private String yhdz;

    @ColumnWidth(20)
    @ExcelProperty(value = "联系电话", order = 6)
    @ApiModelProperty(value = "联系电话", position = 10)
    private String lxdh;

    @ColumnWidth(20)
    @ExcelProperty(value = "申请日期", order = 7)
    @ApiModelProperty(value = "申请日期", position = 17)
    private LocalDate sqrq;

    @ColumnWidth(20)
    @ExcelProperty(value = "建档日期", order = 8)
    @ApiModelProperty(value = "建档日期", position = 18)
    private LocalDate jdrq;

    @ColumnWidth(20)
    @ExcelProperty(value = "建档人员", order = 9)
    @ApiModelProperty(value = "建档人员", position = 19)
    private String jdryxm;

    @ColumnWidth(20)
    @ExcelProperty(value = "证件号码", order = 10)
    @ApiModelProperty(value = "证件号码", position = 16)
    private String zjhm;

    @ColumnWidth(20)
    @ExcelProperty(value = "合同编号", order = 11)
    @ApiModelProperty(value = "合同编号", position = 13)
    private String htbh;


    @ExcelProperty(value = "用水性质", order = 12)
    @ApiModelProperty(value = "水价名称", position = 39)
    private String sjmc;

    @ExcelProperty(value = "水表编号", order = 13)
    @ApiModelProperty(value = "水表编号", position = 22)
    private String sbbh;

    @ExcelProperty(value = "用户状态", order = 14, converter = EnumConverter.class)
    @ApiModelProperty(value = "用户状态", position = 20)
    private YhztEnum yhzt;

    @ExcelIgnore
    @ApiModelProperty(value = "所属公司", position = 3)
    private String ssgsmc;


    @ExcelIgnore
    @ApiModelProperty(value = "所属公司", position = 3)
    private String ssgs;

    @ExcelIgnore
    @ApiModelProperty(value = "所属片区", position = 4)
    private String sscbpq;

    @ExcelIgnore
    @ApiModelProperty(value = "所属抄表册", position = 5)
    private String sscbb;


    @ExcelIgnore
    @ApiModelProperty(value = "原用户编号", position = 7)
    private String ykhbh;

    @ExcelIgnore
    @ApiModelProperty(value = "手机", position = 12)
    private String sj;

    @ExcelIgnore
    @ApiModelProperty(value = "性别", position = 11)
    private String xb;


    @ExcelIgnore
    @ApiModelProperty(value = "住宅电话", position = 13)
    private String zzdh;


    @ExcelIgnore
    @ApiModelProperty(value = "电子邮箱", position = 14)
    private String dzyx;

    @ExcelIgnore
    @ApiModelProperty(value = "证件类别", position = 15)
    private String zjlb;


    @ExcelIgnore
    @ApiModelProperty(value = "水表类别名称", position = 21)
    private String sblbmc;

    @ExcelIgnore
    @ApiModelProperty(value = "水表类别", position = 21)
    private String sblb;


    @ExcelIgnore
    @ApiModelProperty(value = "水表生产厂家", position = 23)
    private String sbsccj;

    @ExcelIgnore
    @ApiModelProperty(value = "水表型号", position = 24)
    private String sbxh;

    @ExcelIgnore
    @ApiModelProperty(value = "水表口径", position = 25)
    private String sbkj;

    @ExcelIgnore
    @ApiModelProperty(value = "水表量程", position = 26)
    private String sblc;

    @ExcelIgnore
    @ApiModelProperty(value = "精度等级", position = 27)
    private String jddj;

    @ExcelIgnore
    @ApiModelProperty(value = "水表起数", position = 28)
    private String sbqs;

    @ExcelIgnore
    @ApiModelProperty(value = "抄表频率", position = 29)
    private String cbpl;

    @ExcelIgnore
    @ApiModelProperty(value = "表具位置", position = 30)
    private String bjwz;

    @ExcelIgnore
    @ApiModelProperty(value = "表具出厂日期", position = 31)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sbccrq;

    @ApiModelProperty(value = "通水日期", position = 32)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date tsrq;

    @ExcelIgnore
    @ApiModelProperty(value = "通水标识", position = 33)
    private String tsbz;

    @ExcelIgnore
    @ApiModelProperty(value = "抄表卡号", position = 34)
    private String cbkhList;

    @ExcelIgnore
    @ApiModelProperty(value = "抄表卡号ID", position = 35)
    private String cbkid;

    @ExcelIgnore
    @ApiModelProperty(value = "水表数量", position = 36)
    private int sbsl;

    @ExcelProperty(value = "上次指针", order = 13)
    @ApiModelProperty(value = "上次读数", position = 37)
    private int scds;

    @ExcelProperty(value = "本次指针", order = 13)
    @ApiModelProperty(value = "本次读数", position = 38)
    private int bcds;

    @ExcelIgnore
    @ApiModelProperty(value = "预付金额", position = 100)
    private BigDecimal yfje;

    @ExcelIgnore
    @ApiModelProperty(value = "扣减金额", position = 101)
    private BigDecimal kjje;

    @ExcelIgnore
    @ApiModelProperty(value = "剩余金额", position = 102)
    private BigDecimal syje;

    @ExcelIgnore
    @ApiModelProperty(value = "智能表剩余金额", position = 103)
    private BigDecimal nbsyje;

    @ExcelIgnore
    @ApiModelProperty(value = "付费方式", position = 104)
    private String fffs;

    @ExcelIgnore
    @ApiModelProperty(value = "付费方式名称", position = 105)
    private String fffsmc;

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

    @ExcelIgnore
    @ApiModelProperty(value = "发票类型名称")
    private String fplxmc;

    @ExcelIgnore
    @ApiModelProperty(value = "发票名称")
    private String fpName;

    @ExcelIgnore
    @ApiModelProperty(value = "发票地址")
    private String fpDz;

    @ExcelIgnore
    @ApiModelProperty(value = "纳税人识别号")
    private String fpNsrsbh;

    @ExcelIgnore
    @ApiModelProperty(value = "开户银行")
    private String fpBankname;

    @ExcelIgnore
    @ApiModelProperty(value = "开户银行账号")
    private String fpBankcode;

    @ExcelIgnore
    @ApiModelProperty(value = "发票联系电话")
    private String fpLxdh;

    @ExcelIgnore
    @ApiModelProperty(value = "发票备注")
    private String fpBz;

    @ExcelIgnore
    @ApiModelProperty(value = "群主户关系标准（1是0否）")
    private String qzhgxbz;

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

    @ExcelIgnore
    @ApiModelProperty("抄表次数")
    private Integer cbcs;

    @ExcelIgnore
    @ApiModelProperty("抄表水量")
    private String cbsl;


    @ExcelIgnore
    @ApiModelProperty("备注")
    private String bz;

    @ExcelIgnore
    @ApiModelProperty("备注1")
    private String bz1;

    @ExcelIgnore
    @ApiModelProperty("用水地址")
    private String ysdz;

    @ExcelIgnore
    @ApiModelProperty("正常水表抄表卡ID集合")
    private List<String> zccbkhs;

    @ExcelIgnore
    @ApiModelProperty("物业标志（0未非物业，1为物业）")
    private String wybz;

//    @ExcelIgnore
//    @ApiModelProperty("图片")
//     private  yhkhjbxxPhoto[] photo;
}

