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

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.math.BigDecimal;
import java.util.Date;

/**
 * @Author 蔡文强
 * @Date 2023/5/25 15:56
 * @Description 折扣记录到处
 */
@Data
@HeadStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@HeadRowHeight(25)
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@ColumnWidth(12)
@ContentRowHeight(15)
@HeadFontStyle(fontHeightInPoints =9)
@ExcelIgnoreUnannotated
public class PmgBatCouponRecordStatisticsExcelVO {

    @ExcelProperty("所属项目")
    @ColumnWidth(26)
    @ApiModelProperty(name = "projectName", value = "所属项目")
    private String projectName;

    @ExcelProperty("所属车场")
    @ColumnWidth(26)
    @ApiModelProperty(name = "parkingName", value = "所属车场")
    private String parkingName;

    @ExcelProperty("车牌号")
    @ApiModelProperty(name = "plateNo", value = "车牌号")
    private String plateNo;
    @ExcelProperty("抵扣类型")
    @ApiModelProperty(name = "couponType", value = "抵扣类型(1:优惠卡 2:优惠活动)")
    private String couponType;
    @ExcelProperty("抵扣金额（元）")
    @ColumnWidth(18)
    @ApiModelProperty(name = "realCouponAmount", value = "抵扣金额（元)")
    private BigDecimal realCouponAmount;

    @ExcelProperty("抵扣百分比（%）")
    @ColumnWidth(18)
    @ApiModelProperty(name = "deductionPercentage", value = "抵扣百分比")
    private BigDecimal deductionPercentage;

//    @ApiModelProperty(name = "startDate", value = "优惠券有效期开始日期")
//    private Date startDate;
//
//    @ApiModelProperty(name = "endDate", value = "优惠券有效期结束日期")
//    private Date endDate;
    @ExcelProperty("使用时间")
    @ColumnWidth(26)
    @ApiModelProperty(name = "useTime", value = "使用时间")
    private Date useTime;
    @ExcelProperty("订单号")
    @ColumnWidth(26)
    @ApiModelProperty(name = "billId", value = "订单号")
    private String billId;

    @ExcelProperty("出场时间")
    @ColumnWidth(26)
    @ApiModelProperty(name = "outTime", value = "出场时间")
    private Date outTime;




}
