From 8236caa8042288fcb9b584c21d6157f713183626 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期四, 13 二月 2025 16:36:01 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/mx_charging_pile --- ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/drainage/model/NotificationChargeOrderInfo.java | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 106 insertions(+), 0 deletions(-) diff --git a/ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/drainage/model/NotificationChargeOrderInfo.java b/ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/drainage/model/NotificationChargeOrderInfo.java new file mode 100644 index 0000000..ece801e --- /dev/null +++ b/ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/drainage/model/NotificationChargeOrderInfo.java @@ -0,0 +1,106 @@ +package com.ruoyi.integration.drainage.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; + +} -- Gitblit v1.7.1