From ed7224238d9bd4d2d3005186a0edc538bd199105 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期四, 06 二月 2025 13:58:14 +0800 Subject: [PATCH] 修改参数首字母大小写 --- ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/drainage/model/StationInfo.java | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/drainage/model/StationInfo.java b/ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/drainage/model/StationInfo.java index 99445dc..b33db57 100644 --- a/ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/drainage/model/StationInfo.java +++ b/ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/drainage/model/StationInfo.java @@ -1,5 +1,6 @@ package com.ruoyi.integration.drainage.model; +import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; import javax.validation.constraints.NotNull; @@ -18,147 +19,176 @@ * 充电站ID */ @NotNull + @JsonProperty("StationID") private String stationID; /** * 运营商ID */ @NotNull + @JsonProperty("OperatorID") private String operatorID; /** * 设备所属方ID * 设备所属运营平台组织机构代码 */ @NotNull + @JsonProperty("EquipmentOwnerID") private String equipmentOwnerID; /** * 充电站名称 */ @NotNull + @JsonProperty("StationName") private String stationName; /** * 充电站国家代码 */ @NotNull + @JsonProperty("CountryCode") private String countryCode; /** * 充电站省市辖区编码 */ @NotNull + @JsonProperty("AreaCode") private String areaCode; /** * 详细地址 */ @NotNull + @JsonProperty("Address") private String address; /** * 站点电话 */ @Null + @JsonProperty("StationTel") private String stationTel; /** * 站点电话 */ @NotNull + @JsonProperty("ServiceTel") private String serviceTel; /** * 站点类型 */ @NotNull + @JsonProperty("StationType") private Integer stationType; /** * 站点状态 */ @NotNull + @JsonProperty("StationStatus") private Integer stationStatus; /** * 车位数量,0:未知 */ @NotNull + @JsonProperty("ParkNums") private Integer parkNums; /** * 经度(保留6位小数) */ @NotNull + @JsonProperty("StationLng") private BigDecimal stationLng; /** * 纬度(保留6位小数) */ @NotNull + @JsonProperty("StationLat") private BigDecimal stationLat; /** * 站点引导 */ @Null + @JsonProperty("SiteGuide") private String siteGuide; /** * 建设场所 */ @NotNull + @JsonProperty("Construction") private Integer construction; /** * 站点照片 * 字符串数组 */ @Null + @JsonProperty("Pictures") private List<String> pictures; /** * 使用车型描述 */ @Null + @JsonProperty("MatchCars") private String matchCars; /** * 车位楼层及数量描述 */ @Null + @JsonProperty("ParkInfo") private String parkInfo; /** * 营业时间 */ @Null + @JsonProperty("BusineHours") private String busineHours; /** * 充电电费率描述 */ @Null + @JsonProperty("ElectricityFee") private String electricityFee; /** * 服务费率描述 */ @Null + @JsonProperty("ServiceFee") private String serviceFee; /** * 停车费率描述 */ @Null + @JsonProperty("ParkFee") private String parkFee; /** * 支付方式:刷卡、线上、现金 */ @Null + @JsonProperty("Payment") private String payment; /** * 是否支持预约 */ @Null + @JsonProperty("SupportOrder") private Integer supportOrder; /** * 备注 */ @Null + @JsonProperty("Remark") private String remark; /** * 充电设备信息列表 */ @NotNull + @JsonProperty("EquipmentInfos") private List<EquipmentInfo> equipmentInfos; /** * 占位费描述 */ @Null + @JsonProperty("OvertimeFee") private String overtimeFee; /** * 占位费信息 */ @Null + @JsonProperty("PlaceHolder") private PlaceHolder placeHolder; } -- Gitblit v1.7.1