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

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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

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

@Getter
@Setter
@ApiModel("抄表本(册)查询列表VO")
@ContentStyle(
        borderBottom = BorderStyleEnum.THIN,
        borderLeft = BorderStyleEnum.THIN,
        borderRight = BorderStyleEnum.THIN,
        borderTop = BorderStyleEnum.THIN,
        bottomBorderColor = 8,
        topBorderColor = 8,
        leftBorderColor = 8,
        rightBorderColor = 8
)
public class BmCbbSelect {

    @ExcelIgnore
    @ApiModelProperty(value = "抄表本(册)编码", position = 4)
    private String cbbbm;

    @ExcelProperty(value = "抄表本(册)名称", order = 1)
    @ColumnWidth(30)
    @ApiModelProperty(value = "抄表本(册)名称", position = 5)
    private String cbbmc;

    @ExcelProperty(value = "抄表本(册)地址描述", order = 2)
    @ColumnWidth(30)
    @ApiModelProperty(value = "抄表本(册)地址描述", position = 6)
    private String dz;

    @ExcelIgnore
    @ApiModelProperty(value = "所属抄表员", position = 7)
    private String cby;

    @ExcelProperty(value = "所属抄表员名称", order = 3)
    @ColumnWidth(30)
    @ApiModelProperty(value = "所属抄表员名称", position = 8)
    private String cbymc;

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

    @ExcelProperty(value = "所属公司名称", order = 4)
    @ColumnWidth(30)
    @ApiModelProperty(value = "所属公司名称", position = 10)
    private String ssgsmc;

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

    @ExcelProperty(value = "所属片区名称", order = 5)
    @ColumnWidth(30)
    @ApiModelProperty(value = "所属片区名称", position = 12)
    private String sscbpqmc;

    @ExcelProperty(value = "备注说明", order = 6)
    @ColumnWidth(30)
    @ApiModelProperty(value = "备注说明", position = 21)
    private String bz;

    @ExcelProperty(value = "创建日期", order = 7)
    @ColumnWidth(30)
    @ApiModelProperty(value = "创建日期", position = 22)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date cdate;

    @ExcelProperty(value = "更新日期", order = 8)
    @ColumnWidth(30)
    @ApiModelProperty(value = "更新日期", position = 23)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date xdate;

    @ExcelIgnore
    @ApiModelProperty(value = "操作人员", position = 25)
    private String czry;

    @ExcelIgnore
    @ApiModelProperty(value = "抄表员生效标志(0=当月生效，1=下月生效)", position = 26)
    private String sxbz;

    @ExcelIgnore
    @ApiModelProperty(value = "下月抄表员的编码(仅当sxbz='1'时有效，月末结转时更新)", position = 27)
    private String xycby;

    @ExcelProperty(value = "下月抄表员的名称", order = 10)
    @ColumnWidth(30)
    @ApiModelProperty(value = "下月抄表员的名称", position = 28)
    private String xycbymc;

    @ExcelIgnore
    @ApiModelProperty(value = "区域负责人", position = 29)
    private String qyfzr;

    @ExcelProperty(value = "区域负责人名称", order = 11)
    @ColumnWidth(30)
    @ApiModelProperty(value = "区域负责人名称", position = 30)
    private String qyfzrmc;


    @ExcelProperty(value = "抄表册状态", order = 11)
    @ColumnWidth(30)
    @ApiModelProperty(value = "抄表册状态", position = 30)
    private String isdisabled;
}

