新增 接收华为推送的订单信息接口

This commit is contained in:
Lemon
2024-01-31 16:03:07 +08:00
parent ad2ecbe20b
commit 91aca42700
2 changed files with 219 additions and 4 deletions

View File

@@ -0,0 +1,84 @@
package com.jsowell.pile.dto.huawei;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.jsowell.pile.vo.huawei.QueryChargeStatusVO;
import lombok.Data;
import java.math.BigDecimal;
import java.util.List;
/**
* 接收华为推送的订单信息
*
* @author Lemon
* @Date 2024/1/31 9:47:40
*/
@Data
public class ReceiveOrderInfoDTO {
/**
* 充电订单号
*/
@JsonProperty(value = "StartChargeSeq")
private String startChargeSeq;
/**
* 充电设备接口编码
*/
@JsonProperty(value = "ConnectorID")
private String connectorID;
/**
* 开始充电时间
*/
@JsonProperty(value = "StartTime")
private String startTime;
/**
* 结束充电时间
*/
@JsonProperty(value = "EndTime")
private String endTime;
/**
* 累计充电量
*/
@JsonProperty(value = "TotalPower")
private BigDecimal totalPower;
/**
* 总电费
*/
@JsonProperty(value = "TotalElecMoney")
private BigDecimal totalElecMoney;
/**
* 总服务费
*/
@JsonProperty(value = "TotalSeviceMoney")
private BigDecimal totalSeviceMoney;
/**
* 累计总金额
*/
@JsonProperty(value = "TotalMoney")
private BigDecimal totalMoney;
/**
* 充电结束原因
*/
@JsonProperty(value = "StopReason")
private Integer stopReason;
/**
* 时段数N
*/
@JsonProperty(value = "SumPeriod")
private Integer sumPeriod;
/**
* 充电明细信息
*/
@JsonProperty(value = "ChargeDetails")
private List<QueryChargeStatusVO.ChargeDetail> chargeDetails;
}