package com.yuchen.saas.parking.api.vo.freeRelease;

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;

/**
 *
 */
@Data
@HeadStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@HeadRowHeight(25)
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@ColumnWidth(12)
@ContentRowHeight(15)
@HeadFontStyle(fontHeightInPoints =9)
@ExcelIgnoreUnannotated
public class ParkingFreeReleaseStatisticsExcelVO {

    @ExcelProperty({"{startDate} ~ {endDate} 月租车收费明细","停车场所"})
    @ApiModelProperty("停车场所")
    private String parkingName;

    @ExcelProperty({"{startDate} ~ {endDate} 月租车收费明细","放行时间"})
    @ApiModelProperty("放行时间")
    private Date outTime;

    @ExcelProperty({"{startDate} ~ {endDate} 月租车收费明细","车牌号"})
    @ApiModelProperty("车牌号")
    private String plateNo;

    @ExcelProperty({"{startDate} ~ {endDate} 月租车收费明细","车主姓名"})
    @ApiModelProperty("车主姓名")
    private String personName;

    @ExcelProperty({"{startDate} ~ {endDate} 月租车收费明细","应收金额（元）"})
    @ApiModelProperty("应收金额（最大长度8） 单位：元")
    private Long supposeCost;

    @ExcelProperty({"{startDate} ~ {endDate} 月租车收费明细","操作人员"})
    @ApiModelProperty("操作人员名称")
    private String userName;

    /**
     * 停车场ID,分组用
     */
    @ApiModelProperty(name = "parkingId", value = "停车场ID")
    private Long parkingId;

}