package com.ruoyi.order.export; import cn.afterturn.easypoi.excel.annotation.Excel; import io.swagger.annotations.ApiModel; import lombok.Data; import java.io.Serializable; import java.math.BigDecimal; @Data @ApiModel(value = "VIN码充电订单导出") public class VinChargingOrderExport implements Serializable { private static final long serialVersionUID = 1L; @Excel(name = "订单编号", width = 26) private String code; @Excel(name = "VIN码", width = 24) private String vin; @Excel(name = "车牌号", width = 16) private String plateNum; @Excel(name = "手机号", width = 18) private String phone; @Excel(name = "站点名称", width = 24) private String siteName; @Excel(name = "充电终端名称", width = 24) private String terminalName; @Excel(name = "状态", width = 16, replace = {"未知_0", "等待中/已插枪_1", "启动中_2", "充电中_3", "停止中_4", "已结束_5"}) private Integer status; @Excel(name = "充电时长(秒)", width = 16) private Long chargingSecond; @Excel(name = "实付", width = 12, numFormat = "0.00") private BigDecimal paymentAmount; @Excel(name = "开始时间", width = 22) private String startTime; @Excel(name = "最后时间", width = 22) private String endTime; @Excel(name = "累计充电量", width = 14, numFormat = "0.0000") private BigDecimal chargingCapacity; @Excel(name = "累计电费", width = 14, numFormat = "0.0000") private BigDecimal electrovalence; @Excel(name = "累计服务费", width = 14, numFormat = "0.0000") private BigDecimal serviceCharge; }