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 com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

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

/**
 * 欠费账单导出对象
 */
@Data
@HeadStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@HeadRowHeight(25)
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@ColumnWidth(12)
@ContentRowHeight(15)
@HeadFontStyle(fontHeightInPoints = 9)
@ExcelIgnoreUnannotated
public class PropertyArrearsBillExcelVo {

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm")
    @ExcelProperty("记账时间")
    private Date outBillTime;

    @ExcelProperty("应收时间")
    private Date receivableDate;

    @ExcelProperty("账单状态")
    private String statusName;

    @ExcelProperty("客户")
    private String customerName;

    @ExcelProperty("园区")
    private String parkName;

    @ExcelProperty("楼栋")
    private String buildingName;

    @ExcelProperty("房间")
    private String houseName;

//    @ExcelProperty("资源代码")
//    private String resourceCode;

    @ExcelProperty("收费项目")
    private String feeItemName;

    @ExcelProperty("收费标准")
    private String feeName;

    @ExcelProperty("欠费金额")
    private BigDecimal noPayAmt;

    @ExcelProperty("实缴金额")
    private BigDecimal payAmt;

    @ExcelProperty("缴费优惠")
    private BigDecimal payReductionAmt;

    @ExcelProperty("合计应收")
    private BigDecimal totalAmt;

    @ExcelProperty("应收金额")
    private BigDecimal receivableAmt;

    @ExcelProperty("税费")
    private BigDecimal taxAmt;

    @ExcelProperty("直接减免")
    private BigDecimal directReductionAmt;

    @ExcelProperty("应收滞纳金")
    private BigDecimal breachAmt;

    @ExcelProperty("减免的滞纳金")
    private BigDecimal reductionBreachAmt;

    @ExcelProperty("调整优惠")
    private BigDecimal readjustAmt;

    @ExcelProperty("开始时间")
    private Date startDate;

    @ExcelProperty("结束时间")
    private Date endDate;

    @ExcelProperty("欠费原因")
    private String arrearsReason;

    @ExcelProperty("最后催缴时间")
    private Date lastCallTime;


}
