diff --git a/xhpc-modules/xhpc-common/src/main/java/com/xhpc/common/api/dto/ChargingStationDto.java b/xhpc-modules/xhpc-common/src/main/java/com/xhpc/common/api/dto/ChargingStationDto.java index 34666cfc..e9546f82 100644 --- a/xhpc-modules/xhpc-common/src/main/java/com/xhpc/common/api/dto/ChargingStationDto.java +++ b/xhpc-modules/xhpc-common/src/main/java/com/xhpc/common/api/dto/ChargingStationDto.java @@ -8,6 +8,41 @@ public class ChargingStationDto { private Set piles; private Long rateModelId; private String operatorId; + private Double lat; + private Double lng; + private Long type; + private Long construction; + private String areaCode; + + public Double getLat() { + + return lat; + } + + public void setLat(Double lat) { + + this.lat = lat; + } + + public Double getLng() { + + return lng; + } + + public void setLng(Double lng) { + + this.lng = lng; + } + + public Long getType() { + + return type; + } + + public void setType(Long type) { + + this.type = type; + } public Long getStationId() { @@ -49,4 +84,24 @@ public class ChargingStationDto { this.operatorId = operatorId; } + public Long getConstruction() { + + return construction == null ? 10 : construction; + } + + public void setConstruction(Long construction) { + + this.construction = construction; + } + + public String getAreaCode() { + + return areaCode; + } + + public void setAreaCode(String areaCode) { + + this.areaCode = areaCode; + } + }