package com.ruoyi.jianguan.model;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotNull;
|
import java.math.BigDecimal;
|
|
/**
|
* 推送充电订单信息
|
* 此接口用于数据提供方向数据需求方推送充电订单信息;充电
|
* 订单在充电结束时实时推送,同一订单只可推送一次,禁止重复推
|
* 送;推送失败时将推送失败的数据按小时级频率重试推送,直到推
|
* 送成功。
|
*/
|
@Data
|
public class SupChargeOrderInfo {
|
|
/**
|
* 充换电平台运营商ID
|
*/
|
@NotNull
|
@JsonProperty("OperatorID")
|
private String OperatorID;
|
/**
|
* 充换电服务运营商ID,
|
* 所属方为个人时填写
|
* 999999999
|
*/
|
@NotNull
|
@JsonProperty("EquipmentOwnerID")
|
private String EquipmentOwnerID;
|
/**
|
* 充换电站ID
|
*/
|
@NotNull
|
@JsonProperty("StationID")
|
private String StationID;
|
/**
|
* 充电设备编码
|
*/
|
@NotNull
|
@JsonProperty("EquipmentID")
|
private String EquipmentID;
|
/**
|
* 充电订单号
|
* 格式“运营商ID+唯一
|
* 编号”,不超过64个字
|
* 符
|
*/
|
@NotNull
|
@JsonProperty("OrderNo")
|
private String OrderNo;
|
/**
|
* 充电订单状态
|
* 1、启动中
|
* 2、充电中
|
* 3、停止中
|
* 4、充电完成
|
* 5、订单挂起
|
* 6、充电异常结束
|
* 7、启动失败
|
*/
|
@NotNull
|
@JsonProperty("OrderStatus")
|
private Integer OrderStatus;
|
/**
|
* 充电设备接口编码
|
*/
|
@NotNull
|
@JsonProperty("ConnectorID")
|
private String ConnectorID;
|
/**
|
* 设备接口分类
|
* 1:车辆充电设备接口
|
* 2:换电站内的电池箱
|
* 充电设备接口
|
*/
|
@NotNull
|
@JsonProperty("EquipmentClassification")
|
private Integer EquipmentClassification = 1;
|
/**
|
* 推送时间
|
* yyyy-MM-dd HH:mm:ss ,充电设备推送给运
|
*/
|
@NotNull
|
@JsonProperty("PushTimeStamp")
|
private String PushTimeStamp;
|
/**
|
* 开始充电时间
|
*/
|
@NotNull
|
@JsonProperty("StartTime")
|
private String StartTime;
|
/**
|
* 本次采样时间
|
*/
|
@NotNull
|
@JsonProperty("EndTime")
|
private String EndTime;
|
/**
|
* 累计充电量 小数点后4位
|
*/
|
@NotNull
|
@JsonProperty("TotalPower")
|
private BigDecimal TotalPower;
|
/**
|
* 总电费
|
*/
|
@NotNull
|
@JsonProperty("TotalElecMoney")
|
private BigDecimal TotalElecMoney;
|
/**
|
* 总服务费
|
*/
|
@NotNull
|
@JsonProperty("TotalServiceMoney")
|
private BigDecimal TotalServiceMoney;
|
/**
|
* 累计总金额
|
*/
|
@NotNull
|
@JsonProperty("TotalMoney")
|
private BigDecimal TotalMoney;
|
/**
|
* 充电结束原因
|
* 0:用户手动停止充电
|
* 1:客户归属地运营商平台停止充电
|
* 2:BMS停止充电
|
* 3:充电机设备故障
|
* 4:连接器断开
|
* 5~99: 自定义
|
*/
|
@NotNull
|
@JsonProperty("StopReason")
|
private Integer StopReason;
|
/**
|
* 充电结束原因描
|
* 述
|
*/
|
@NotNull
|
@JsonProperty("StopDesc")
|
private String StopDesc;
|
|
}
|