This commit is contained in:
Lemon
2024-08-14 10:36:15 +08:00
3 changed files with 67 additions and 11 deletions

View File

@@ -212,13 +212,18 @@ public class StationInfo extends BaseStationInfo {
private String serviceFee;
/**
* 停车费 N
* 停车费率描述
* <=100字符
* 是否停车0否 1
*/
@JSONField(name = "ParkFree")
private Integer parkFree;
/**
* 停车费 N
* 停车费率描述
*/
@JSONField(name = "ParkFee")
private String parkFee;
/**
* 支付方式 N
* 支付方式:刷卡、线上、现金 其中电子钱包类卡为刷卡,身份鉴权卡、微信/ 支付宝、APP为线上
@@ -304,14 +309,6 @@ public class StationInfo extends BaseStationInfo {
@JSONField(name = "MinElectricityPrice")
private BigDecimal minElectricityPrice;
/**
* 停车费 N
* 停车费率描述
*/
// private String ParkFee;
/**
* 停车收费类型 Y
* 0:停车收费;

View File

@@ -0,0 +1,55 @@
package com.jsowell.thirdparty.platform.domain;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.math.BigDecimal;
@Data
public class PolicyInfo {
/**
* 时段开始时间
*/
@JsonProperty(value = "StartTime")
private String startTime;
/**
* 时段开始时间
*/
@JsonProperty(value = "EndTime")
private String endTime;
/**
* 充电类型
*/
@JsonProperty(value = "ChargingType")
private String chargingType;
/**
* 电费
* 保留小数点后四位
*/
@JsonProperty(value = "ElecFee")
private BigDecimal elecFee;
/**
* 服务费
* 保留小数点后四位
*/
@JsonProperty(value = "ServiceFee")
private BigDecimal serviceFee;
/**
* 规则生效日期
* 本计费规则生效日期格式“yyyy-MM-dd”
*/
@JsonProperty(value = "StartDate")
private BigDecimal startDate;
/**
* 规则失效日期
* 本计费规则失效日期 格式“yyyy-MM-dd”
*/
@JsonProperty(value = "EndDate")
private BigDecimal endDate;
}

View File

@@ -7,6 +7,8 @@ import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import java.util.List;
/**
* 内蒙古平台站点信息
*/
@@ -29,4 +31,6 @@ public class SupStationInfo extends StationInfo {
*/
@JSONField(name = "AreaCodeCountryside")
private String areaCodeCountryside;
private List<PolicyInfo> PolicyInfos;
}