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

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;

/**
 * @Description 月卡导出Excel
 */
@Data
@HeadStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@HeadRowHeight(25)
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@ColumnWidth(12)
@ContentRowHeight(15)
@HeadFontStyle(fontHeightInPoints =9)
@ExcelIgnoreUnannotated
public class SpcOccupyFeeBillExcelVo {

    @ExcelProperty("序号")
    @ApiModelProperty("序号")
    private Integer order;


    /**
     * 停车场名称
     */
    @ExcelProperty("停车场名称")
    @ApiModelProperty(name = "parkingName", value = "停车场名称")
    private String parkingName;

    /**
     * 车牌号
     */
    @ExcelProperty("车牌号")
    @ApiModelProperty(name = "plateNo", value = "车牌号")
    private String plateNo;


    /**
     * 占位费总费用
     */
    @ApiModelProperty(name = "placeIdleCost", value = "占位费总费用")
    private Long placeIdleCost;
    @ExcelProperty("占位费总费用(单位:元)")
    @ApiModelProperty(name = "placeIdleCostStr", value = "占位费总费用")
    private String placeIdleCostStr;
    /**
     * 充电总时长
     */
    @ApiModelProperty(name = "placeChargeTime", value = "充电总时长(分)")
    private Long placeChargeTime;
    @ExcelProperty("充电总时长")
    @ApiModelProperty(name = "placeChargeTimeStr", value = "充电总时长(分)")
    private String placeChargeTimeStr;
    /**
     * 充电车位占用收费总时长（未充电时长）
     */
    @ApiModelProperty(name = "placeIdleTime", value = "充电车位占用收费总时长（未充电时长）(分)")
    private Long placeIdleTime;
    @ExcelProperty("电车位占用收费总时长")
    @ApiModelProperty(name = "placeIdleTimeStr", value = "充电车位占用收费总时长（未充电时长）(分)")
    private String placeIdleTimeStr;
    /**
     * 充电车位上停放的总时长（充电加未充电）
     */
    @ApiModelProperty(name = "placeParkingTime", value = "充电车位上停放的总时长（充电加未充电）(分)")
    private Long placeParkingTime;
    @ExcelProperty("充电车位上停放的总时长")
    @ApiModelProperty(name = "placeParkingTimeStr", value = "充电车位上停放的总时长（充电加未充电）(分)")
    private String placeParkingTimeStr;
    /**
     * 应收占位费（扣除已支付占位费）
     */
    @ApiModelProperty(name = "supposePlaceIdleCost", value = "应收占位费（扣除已支付占位费）")
    private Long supposePlaceIdleCost;
    @ExcelProperty("应收占位费(单位:元)")
    @ApiModelProperty(name = "supposePlaceIdleCostStr", value = "应收占位费（扣除已支付占位费）")
    private String supposePlaceIdleCostStr;

/*    @ApiModelProperty(name = "paidPlaceIdleCost", value = "已支付占位费")
    private Long paidPlaceIdleCost;
    @ExcelProperty("已支付占位费(单位:元)")
    @ApiModelProperty(name = "paidPlaceIdleCostStr", value = "已支付占位费")
    private String paidPlaceIdleCostStr;*/


    @ExcelProperty("充电站名称")
    @ApiModelProperty(name = "stationName", value = "充电站名称")
    private  String stationName;

    /**
     * 占位费开始计算时间
     */
    @ExcelProperty("占位费开始计算时间")
    @ApiModelProperty(name = "beginTime", value = "占位费开始计算时间")
    private Date beginTime;

    /**
     * 占位费结束计算时间
     */
    @ExcelProperty("占位费结束计算时间")
    @ApiModelProperty(name = "endTime", value = "占位费结束计算时间")
    private Date endTime;

/*
    @ExcelProperty("电桩名称")
    @ApiModelProperty(name = "chargeTerminalName", value = "电桩名称")
    private String chargeTerminalName;
*/
/*    @ExcelProperty("用户手机号")
    @ApiModelProperty(name = "userMobile", value = "用户手机号")
    private String userMobile;*/

    @ExcelProperty("车位号")
    @ApiModelProperty(name = "parkingSpaceNo", value = "车位号")
    private String parkingSpaceNo;

    private String terminalNo;
    @ExcelProperty("结算时间")
    @ApiModelProperty(name = "settleTime", value = "结算时间")
    private Date settleTime;
    @ExcelProperty("创建时间")
    @ApiModelProperty(name = "createTime", value = "创建时间")
    private Date createTime;
    @ApiModelProperty(name = "status", value = "状态")
    private Integer status;
    @ExcelProperty("状态")
    @ApiModelProperty(name = "statusDesc", value = "状态")
    private String statusDesc;
    @ApiModelProperty(name = "id", value = "订单编号")
    private Long id;
    @ExcelProperty("支付方式")
    @ApiModelProperty(name = "payTypeDesc", value = "支付方式")
    private String payTypeDesc;
    @ExcelProperty("收款渠道")
    @ApiModelProperty(name = "payChannelName", value = "收款渠道")
    private String payChannelName;

    @ApiModelProperty(name = "payType", value = "支付方式")
    private String payType;

}
