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 SpcChargeBillFinacalExcelVo {

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

    @ExcelProperty("订单序列号")
    @ApiModelProperty(name = "chargeSerialNumber", value = "充电桩平台充电序列号")
    private String chargeSerialNumber;


    @ExcelProperty("用户手机号")
    @ApiModelProperty(name = "userMobile", value = "充电桩平台充电序列号")
    private String userMobile;

    /**
     * 充电开始时间
     */
    @ExcelProperty("充电开始时间")
    @ApiModelProperty(name = "chargeStartTime", value = "充电开始时间")
    private Date chargeStartTime;
    /**
     * 充电结束时间
     */
    @ExcelProperty("充电结束时间")
    @ApiModelProperty(name = "chargeEndTime", value = "充电结束时间")
    private Date chargeEndTime;

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


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

    @ExcelProperty("充电时长")
    @ApiModelProperty(name = "totalChargingDuration", value = "充电总时长:单位:秒")
    private String totalChargingDuration;

    /**
     * 充电总时长:单位:秒
     */
    @ExcelProperty("充电电量")
    @ApiModelProperty(name = "totalChargingElectricity", value = "充电总电量:单位:kw")
    private BigDecimal totalChargingElectricity;

    @ExcelProperty("服务费")
    @ApiModelProperty(name = "serviceCharge", value = "服务费,单位元,两位小数")
    private BigDecimal serviceCharge;

    /**
     * 充电总费用
     */
    @ExcelProperty("充电费用")
    @ApiModelProperty(name = "totalCharge", value = "充电总费用")
    private BigDecimal totalCharge;


    @ExcelProperty("已支付金额 单位：分")
    @ApiModelProperty(name = "paidCost", value = "已支付金额（最大长度8） 单位：分")
    private BigDecimal paidCost;


    @ExcelProperty("支付时间")
    @ApiModelProperty(name = "payTime", value = "支付时间")
    private Date payTime;



    @ExcelProperty("尖电费")
    @ApiModelProperty(name = "jianChargeFee", value = "尖电费")
    private BigDecimal jianChargeFee;



    @ExcelProperty("峰电费")
    @ApiModelProperty(name = "fengChargeFee", value = "峰电费")
    private BigDecimal fengChargeFee;



    @ExcelProperty("平电费")
    @ApiModelProperty(name = "pingChargeFee", value = "平电费")
    private BigDecimal pingChargeFee;



    @ExcelProperty("谷电费")
    @ApiModelProperty(name = "guChargeFee", value = "谷电费")
    private BigDecimal guChargeFee;



    @ExcelProperty("尖电量")
    @ApiModelProperty(name = "jianElect", value = "尖电量")
    private BigDecimal jianElect;



    @ExcelProperty("峰电量")
    @ApiModelProperty(name = "fengElect", value = "峰电量")
    private BigDecimal fengElect;


    @ExcelProperty("平电量")
    @ApiModelProperty(name = "pingElect", value = "平电量")
    private BigDecimal pingElect;


    @ExcelProperty("谷电量")
    @ApiModelProperty(name = "guElect", value = "谷电量")
    private BigDecimal guElect;

    /*@ExcelProperty("电费明细差额")
    @ApiModelProperty(name = "chargeFeeDiff", value = "电费明细差额")
    private BigDecimal chargeFeeDiff;

    @ExcelProperty("电量明细差额")
    @ApiModelProperty(name = "electDiff", value = "电量明细差额")
    private BigDecimal electDiff;*/

//    @ExcelProperty("电费明细差额")
//    @ApiModelProperty(name = "chargeFeeDiff", value = "电费明细差额")
//    private BigDecimal chargeFeeDiff;
//
//    @ExcelProperty("电量明细差额")
//    @ApiModelProperty(name = "electDiff", value = "电量明细差额")
//    private BigDecimal electDiff;
    @ApiModelProperty(name = "chargeFeeDiff", value = "电费明细差额")
    private BigDecimal chargeFeeDiff;

    @ApiModelProperty("账单id")
    private Long id;
    @ApiModelProperty(name = "electDiff", value = "电量明细差额")
    private BigDecimal electDiff;
}
