package com.ruoyi.integration.drainage.kuaidian.model;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.ruoyi.integration.drainage.model.ChargeDetail;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.Null;
|
import java.math.BigDecimal;
|
import java.util.List;
|
|
/**
|
* 账单实体
|
* @author zhibing.pu
|
* @Date 2025/1/26 15:29
|
*/
|
@Data
|
public class OrderInfo {
|
/**
|
* 充电订单号
|
*/
|
@NotNull
|
@JsonProperty("StartChargeSeq")
|
private String startChargeSeq;
|
/**
|
* 充电设备接口编码
|
*/
|
@NotNull
|
@JsonProperty("ConnectorID")
|
private String connectorID;
|
/**
|
* 开始充电时间
|
* yyyy-MM-dd HH:mm:ss
|
*/
|
@NotNull
|
@JsonProperty("StartTime")
|
private String startTime;
|
/**
|
* 结束充电时间
|
* yyyy-MM-dd HH:mm:ss
|
*/
|
@NotNull
|
@JsonProperty("EndTime")
|
private String endTime;
|
/**
|
* 累计充电电量
|
*/
|
@NotNull
|
@JsonProperty("TotalPower")
|
private BigDecimal totalPower;
|
/**
|
* 总电费
|
*/
|
@NotNull
|
@JsonProperty("TotalElecMoney")
|
private BigDecimal totalElecMoney;
|
/**
|
* 总服务费
|
*/
|
@NotNull
|
@JsonProperty("TotalSeviceMoney")
|
private BigDecimal totalSeviceMoney;
|
/**
|
* 累计总金额
|
*/
|
@NotNull
|
@JsonProperty("TotalMoney")
|
private BigDecimal totalMoney;
|
/**
|
* 车辆识别码
|
*/
|
@Null
|
@JsonProperty("VIN")
|
private String VIN;
|
/**
|
* 充电结束原因
|
* 0:用户手动停止充电
|
* 1:客户归属地运营商平台停止充电
|
* 2:BMS停止充电
|
* 3:充电机设备故障
|
* 4:连接器断开
|
* 5`99:自定义
|
*/
|
@NotNull
|
@JsonProperty("StopReason")
|
private Integer stopReason;
|
/**
|
* 时段数N
|
* 范围0`23
|
*/
|
@Null
|
@JsonProperty("SumPeriod")
|
private Integer sumPeriod;
|
/**
|
* 充电明细信息
|
*/
|
@JsonProperty("ChargeDetails")
|
private List<ChargeDetail> chargeDetails;
|
}
|