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 io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

import java.util.Date;

/**
 * @Author 蔡文强
 * @Date 2023/12/18 11:01
 * @Description 房源绑定收费标准导出数据
 */
@Data
@HeadStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@HeadRowHeight(25)
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@ColumnWidth(12)
@ContentRowHeight(15)
@HeadFontStyle(fontHeightInPoints = 9)
@ExcelIgnoreUnannotated
public class PropertyHouseBindFeeExcelVo {

    @ApiModelProperty(name = "parkName", value = "园区名称")
    @ExcelProperty(value = {"房源绑定收费标准表", "园区名称"}, index = 1)
    private String parkName;

    @ApiModelProperty(name = "houseCode", value = "房源代码")
    @ExcelProperty(value = {"房源绑定收费标准表", "房源代码"}, index = 2)
    private String houseCode;

    @ApiModelProperty(name = "buildingName", value = "楼栋号")
    @ExcelProperty(value = {"房源绑定收费标准表", "楼栋号"}, index = 3)
    private String buildingName;

    @ApiModelProperty(name = "customerName", value = "客户姓名")
    @ExcelProperty(value = {"房源绑定收费标准表", "客户姓名"}, index = 4)
    private String customerName;

    @ApiModelProperty(name = "feeItemName", value = "收费项目名称")
    @ExcelProperty(value = {"房源绑定收费标准表", "收费项目"}, index = 5)
    private String feeItemName;

    @ApiModelProperty(name = "feeStandardName", value = "收费标准名称")
    @ExcelProperty(value = {"房源绑定收费标准表", "收费标准"}, index = 6)
    private String feeStandardName;

    @ApiModelProperty(name = "startFeeDate", value = "开始计费日期")
    private Date startFeeDate;
    @ApiModelProperty(name = "startFeeDate", value = "开始计费日期")
    @ExcelProperty(value = {"房源绑定收费标准表", "开始计费日期"}, index = 7)
    private String startFeeDateStr;

    @ApiModelProperty(name = "endFeeDate", value = "结束计费日期")
    private Date endFeeDate;
    @ApiModelProperty(name = "endFeeDate", value = "结束计费日期")
    @ExcelProperty(value = {"房源绑定收费标准表", "结束计费日期"}, index = 8)
    private String endFeeDateStr;

}
