package com.yuchen.saas.park.api.vo.property;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

import java.util.Date;

/**
 * @Author 蔡文强
 * @Date 2023/12/27 11:01
 * @Description 费用减免列表导出数据
 */
@Data
@HeadStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@HeadRowHeight(25)
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@ColumnWidth(12)
@ContentRowHeight(15)
@HeadFontStyle(fontHeightInPoints = 9)
@ExcelIgnoreUnannotated
public class PropertyFeeReductionExcelVo {

    @ApiModelProperty(name = "id", value = "主键ID")
    private Long id;

    @ApiModelProperty(name = "customerId", value = "客户ID")
    private Long customerId;

    @ApiModelProperty(name = "customerName", value = "客户名称")
    @ExcelProperty(value = {"费用减免导出表", "客户名称"}, index = 1)
    private String customerName;

    @ApiModelProperty(name = "houseId", value = "房源ID")
    private Long houseId;

    @ApiModelProperty(name = "houseCode", value = "房源代码")
    @ExcelProperty(value = {"费用减免导出表", "房源代码"}, index = 2)
    private String houseCode;

    @ApiModelProperty(name = "feeStandardName", notes = "收票标准名称")
    @ExcelProperty(value = {"费用减免导出表", "收票标准名称"}, index = 3)
    private String feeStandardName;

    @ApiModelProperty(name = "reductionAmount", notes = "减免金额")
    @ExcelProperty(value = {"费用减免导出表", "减免金额"}, index = 4)
    private Integer reductionAmount;

    @ApiModelProperty(name = "receivableAmtFen", notes = "应收金额;单位：分")
    @ExcelProperty(value = {"费用减免导出表", "应收金额"}, index = 5)
    private Long receivableAmtFen;

    @ApiModelProperty(name = "totalPayAmtFen", notes = "合计应收金额; 单位：分")
    @ExcelProperty(value = {"费用减免导出表", "实际应收金额"}, index = 6)
    private Long totalPayAmtFen;

    @ApiModelProperty(name = "startDate", notes = "账单开始时间")
    @ExcelProperty(value = {"费用减免导出表", "开始日期"}, index = 7)
    private Date startDate;

    @ApiModelProperty(name = "endDate", notes = "账单结束时间")
    @ExcelProperty(value = {"费用减免导出表", "结束日期"}, index = 8)
    private Date endDate;

    @ApiModelProperty(name = "remark", notes = "备注信息")
    @ExcelProperty(value = {"费用减免导出表", "备注信息"}, index = 9)
    private String remark;

}
