package com.tofly.feesapi.mxcx.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.PjztEnum;
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 2024/12/25
 */
@Data
@ColumnWidth(10)
@ContentStyle(
        borderBottom = BorderStyleEnum.THIN,
        borderLeft = BorderStyleEnum.THIN,
        borderRight = BorderStyleEnum.THIN,
        borderTop = BorderStyleEnum.THIN,
        bottomBorderColor = 8,
        topBorderColor = 8,
        leftBorderColor = 8,
        rightBorderColor = 8
)
public class QftjSelect {
    @ExcelProperty("用户编号")
    @ApiModelProperty("用户编号")
    private String yhbh;


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

    @ExcelProperty("用户名称")
    @ApiModelProperty("用户名称")
    private String yhxm;
    @ExcelProperty("用户地址")
    @ApiModelProperty("用户地址")
    private String yhdz;
    @ExcelProperty("联系电话")
    @ApiModelProperty("联系电话")
    private String lxdh;
    @ExcelProperty("财务日期")
    @ApiModelProperty("财务日期")
    private String cwrq;
    @ExcelProperty("起数")
    @ApiModelProperty("起数")
    private String scds;

    @ExcelProperty("止度")
    @ApiModelProperty("止度")
    private String bcds;
    @ExcelProperty("用水月份")
    @ApiModelProperty("用水月份")
    private String ysyf;

    @ExcelProperty("水价")
    @ApiModelProperty("水价")
    private BigDecimal sj;
    @ExcelProperty("应收水量")
    @ApiModelProperty("应收水量")
    private BigDecimal yssl;
    @ExcelProperty("应收水费")
    @ApiModelProperty("应收水费")
    private BigDecimal yssf;
    @ExcelProperty("应收污水费")
    @ApiModelProperty("应收污水费")
    private BigDecimal yswsf;
    @ExcelProperty("应收水资源费")
    @ApiModelProperty("应收水资源费")
    private BigDecimal ysszyf;
    @ExcelProperty("应收垃圾费")
    @ApiModelProperty("应收垃圾费")
    private BigDecimal ysljf;
    @ExcelProperty("违约金")
    @ApiModelProperty("违约金")
    private BigDecimal znj;
    @ExcelProperty("欠费金额（不含违约金）")
    @ApiModelProperty("欠费金额（不含违约金）")
    private BigDecimal qfje;
    @ExcelProperty("欠费金额（含违约金）")
    @ApiModelProperty("欠费金额（含违约金）")
    private BigDecimal qfzje;
    @ExcelProperty("抄表日期")
    @ApiModelProperty("抄表日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date cbrq;
    @ExcelProperty("抄表人员")
    @ApiModelProperty("抄表人员")
    private String cbry;
    @ExcelProperty("区域负责人")
    @ApiModelProperty("区域负责人")
    private String qyfzr;
    @ExcelProperty("收费状态")
    @ApiModelProperty("收费状态")
    private String sfzt;
    @ExcelProperty("用水性质名称")
    @ApiModelProperty(value = "用水性质名称")
    private String ysxzmc;
    @ExcelProperty("水价名称")
    @ApiModelProperty("水价名称")
    private String sjmc;
    @ExcelProperty(value = "冲红标识", converter = EnumConverter.class)
    @ApiModelProperty("冲红标识")
    private PjztEnum chbz;

    @ApiModelProperty(value = "应收二次加压费")
    private BigDecimal ysecjyf;
    @ApiModelProperty(value = "应收附加费")
    private BigDecimal ysfjf;
    @ApiModelProperty(value = "应收其它费(消防栓费)")
    private BigDecimal ysqt;
    @ExcelIgnore
    @ApiModelProperty("水价编码")
    private String sjbm;
    @ExcelIgnore
    @ApiModelProperty(value = "污水费单价")
    private BigDecimal wsfdj;
    @ExcelIgnore
    @ApiModelProperty(value = "水资源费单价")
    private BigDecimal szyfdj;
}
