package com.tofly.feesapi.sfgl.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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@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 YySspjxxReport {

    @ApiModelProperty("类型 1,收费收入，2附加及代收费")
    @ExcelIgnore
    private Integer type;
    @ExcelIgnore
    private String yslx;

    @ColumnWidth(20)
    @ExcelProperty(value = {"${title1}","${title2}", "收入项目"},order = 1)
    @ApiModelProperty("用水类型名称")
    private String yslxName;

    @ExcelProperty(value = {"${title1}","${title2}","现金", "水量"}, order = 2)
    @ApiModelProperty("现金_水量")
    private BigDecimal sl1;

    @ExcelProperty(value = {"${title1}","${title2}", "现金", "金额"}, order = 3)
    @ApiModelProperty("现金_金额")
    private BigDecimal sf1;

    @ExcelProperty(value = {"${title1}","${title2}","转账", "水量"}, order = 4)
    @ApiModelProperty("转账_水量")
    private BigDecimal sl2;
    @ExcelProperty(value = {"${title1}","${title2}","转账", "金额"}, order = 5)
    @ApiModelProperty("转账_金额")
    private BigDecimal sf2;

    @ExcelProperty(value = {"${title1}","${title2}","POS机", "水量"}, order = 6)
    @ApiModelProperty("POS机_水量")
    private BigDecimal sl3;

    @ExcelProperty(value = {"${title1}","${title2}", "POS机", "金额"}, order = 7)
    @ApiModelProperty("POS机_金额")
    private BigDecimal sf3;




    @ExcelProperty(value = {"${title1}","${title2}", "扫码", "水量"}, order = 8)
    @ApiModelProperty("扫码_水量")
    private BigDecimal sl4;

    @ExcelProperty(value = {"${title1}","${title2}", "扫码", "金额"}, order = 9)
    @ApiModelProperty("扫码_金额")
    private BigDecimal sf4;

    @ExcelProperty(value = {"${title1}","${title2}", "第三方代收", "水量"}, order = 10)
    @ApiModelProperty("第三方代收_水量")
    private BigDecimal sl5;

    @ExcelProperty(value = {"${title1}","${title2}", "第三方代收", "金额"}, order = 11)
    @ApiModelProperty("第三方代收_金额")
    private BigDecimal sf5;


    @ExcelProperty(value = {"${title1}","${title2}", "其他", "水量"}, order = 12)
    @ApiModelProperty("其他_水量")
    private BigDecimal sl6;

    @ExcelProperty(value = {"${title1}","${title2}", "其他", "金额"}, order = 13)
    @ApiModelProperty("其他_金额")
    private BigDecimal sf6;


    @ExcelProperty(value = {"${title1}","${title2}","合计", "水量"}, order = 14)
    @ApiModelProperty("合计_水量")
    private BigDecimal sl7;

    @ExcelProperty(value = {"${title1}","${title2}","合计", "金额"}, order = 15)
    @ApiModelProperty("合计_金额")
    private BigDecimal sf7;

}
