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

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;

/**
 * @Author 任业政
 * @Date 2021/9/10 14:19
 * @Description 临时车收费统计
 */
@Data
@HeadStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@HeadRowHeight(15)
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@ColumnWidth(15)
@ContentRowHeight(15)
public class TempCatCountVo {

    @ExcelProperty({"{PARKING_NAME}{DATE}收费统计", "时间({DATE_UNIT})"})
    @ApiModelProperty(value = "小时")
    private Integer hour;

    @ExcelProperty({"{PARKING_NAME}{DATE}收费统计", "临时车", "记录数(条)"})
    @ApiModelProperty(value = "合计个数")
    private Integer count;

    @ExcelProperty({"{PARKING_NAME}{DATE}收费统计", "临时车", "金额小计(元)"})
    @ApiModelProperty(value = "金额")
    private Double cost;

}
