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

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

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

@Data
@ApiModel("收费流水明细账单")
@ContentStyle(
        borderBottom = BorderStyleEnum.THIN,
        borderLeft = BorderStyleEnum.THIN,
        borderRight = BorderStyleEnum.THIN,
        borderTop = BorderStyleEnum.THIN,
        bottomBorderColor = 8,
        topBorderColor = 8,
        leftBorderColor = 8,
        rightBorderColor = 8
)
public class YySspjxxLsMxReport {



    @ColumnWidth(20)
    @ExcelProperty(value = {"${title1}","${title2}", "收费人员"},order = 1)
    @ApiModelProperty("收费人员")
    private String sfryxm;


    @ColumnWidth(20)
    @ExcelProperty(value = {"${title1}","${title2}","财务日期"},order = 2)
    @ApiModelProperty("财务日期")
    private String cwrq;


    @ColumnWidth(20)
    @ExcelProperty(value = {"${title1}","${title2}", "流水号"},order = 3)
    @ApiModelProperty("收费流水号")
    private String sflsbh;

    @ColumnWidth(20)
    @ExcelProperty(value = {"${title1}","${title2}", "用户号"},order = 4)
    @ApiModelProperty("用户号")
    private String yhbh;


    @ColumnWidth(20)
    @ExcelProperty(value = {"${title1}","${title2}", "户名"},order = 5)
    @ApiModelProperty("用户姓名")
    private String yhxm;

    @ColumnWidth(20)
    @ExcelProperty(value = {"${title1}","${title2}","付费方式"},order = 6)
    @ApiModelProperty("付费方式名称")
    private String fffsName;



    @ColumnWidth(20)
    @ExcelProperty(value = {"${title1}","${title2}", "收费时间"},order = 7)
    @ApiModelProperty("收费日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sfrq;


    @ColumnWidth(20)
    @ExcelProperty(value = {"${title1}","${title2}", "收费金额"},order = 8)
    @ApiModelProperty("收费总金额")
    private BigDecimal sszje;


}
