package com.ruoyi.jianguan.model;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
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/21 15:39
|
*/
|
@Data
|
public class NotificationChargeOrderInfo {
|
/**
|
* 充电订单号
|
*/
|
@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;
|
/**
|
* 充电结束原因
|
* 0:用户手动停止充电
|
* 1:客户归属地运营商平台停止充电
|
* 2:BMS停止充电
|
* 3:充电机设备故障
|
* 4:连接器断开
|
* 5·99:自定义
|
*/
|
@NotNull
|
@JsonProperty("StopReason")
|
private Integer stopReason;
|
/**
|
* 时段数 N
|
* 0·32
|
*/
|
@Null
|
@JsonProperty("SumPeriod")
|
private Integer sumPeriod;
|
/**
|
* 充电明细信息
|
*/
|
@Null
|
@JsonProperty("ChargeDetails")
|
private List<ChargeDetail> chargeDetails;
|
/**
|
* 占位费
|
*/
|
@Null
|
@JsonProperty("TotalDelayMoney")
|
private BigDecimal totalDelayMoney;
|
/**
|
* 车辆识别码
|
*/
|
@Null
|
@JsonProperty("VIN")
|
private String VIN;
|
|
}
|