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

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tofly.feesapi.common.Excel.EnumConverter;
import com.tofly.feesapi.common.constant.DzztEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author lihaoli
 * @date 2025/4/25
 */
@Data
public class YyQfmxDzmxSelect {

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

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

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

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

    @ExcelProperty(value = "用水类型")
    @ApiModelProperty(value = "用水类型")
    private String yslx;

    @ExcelProperty(value = "用水月份")
    @ApiModelProperty(value = "用水月份")
    private String ysyf;

    @ExcelProperty(value = "抄表日期")
    @ApiModelProperty(value = "财务日期")
    private String cwrq;

    @ExcelProperty(value = "水费")
    @ApiModelProperty(value = "水量")
    private BigDecimal sl;

    @ExcelProperty(value = "金额")
    @ApiModelProperty(value = "金额")
    private BigDecimal je;

    @ExcelProperty(value = "抄表人员")
    @ApiModelProperty(value = "抄表人员姓名")
    private String cbryxm;

    @ExcelProperty(value = "操作人员")
    @ApiModelProperty(value = "操作人员姓名")
    private String czryxm;

    @ExcelProperty(value = "操作时间")
    @ApiModelProperty(value = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date czsj;

    @ExcelProperty(value = "备注")
    @ApiModelProperty(value = "备注")
    private String bz;

    @ExcelProperty(value = "审核人员")
    @ApiModelProperty(value = "审核人员")
    private String shry;

    @ExcelProperty(value = "审核意见")
    @ApiModelProperty(value = "审核意见")
    private String shyj;

    @ExcelProperty(value = "呆账状态", converter = EnumConverter.class)
    @ApiModelProperty(value = "呆账状态")
    private DzztEnum typeId;

}
