diff --git a/module-map/src/main/java/ink/wgink/module/map/pojo/vos/userlocation/UserLocationVO.java b/module-map/src/main/java/ink/wgink/module/map/pojo/vos/userlocation/UserLocationVO.java index ee14185f..396cd457 100644 --- a/module-map/src/main/java/ink/wgink/module/map/pojo/vos/userlocation/UserLocationVO.java +++ b/module-map/src/main/java/ink/wgink/module/map/pojo/vos/userlocation/UserLocationVO.java @@ -5,7 +5,6 @@ import ink.wgink.annotation.CheckNumberAnnotation; import io.swagger.annotations.ApiModel; /** - * * @ClassName: UserLocationVO * @Description: 用户定位 * @Author: CodeFactory @@ -16,6 +15,11 @@ import io.swagger.annotations.ApiModel; public class UserLocationVO { private String userLocationId; + private String cityCode; + private String areaCode; + private String streetCode; + private String villageCode; + private String fullAreaCode; @CheckEmptyAnnotation(name = "用户经度") private String userLng; @CheckEmptyAnnotation(name = "用户维度") @@ -38,6 +42,46 @@ public class UserLocationVO { this.userLocationId = userLocationId; } + public String getCityCode() { + return cityCode == null ? "" : cityCode.trim(); + } + + public void setCityCode(String cityCode) { + this.cityCode = cityCode; + } + + public String getAreaCode() { + return areaCode == null ? "" : areaCode.trim(); + } + + public void setAreaCode(String areaCode) { + this.areaCode = areaCode; + } + + public String getStreetCode() { + return streetCode == null ? "" : streetCode.trim(); + } + + public void setStreetCode(String streetCode) { + this.streetCode = streetCode; + } + + public String getVillageCode() { + return villageCode == null ? "" : villageCode.trim(); + } + + public void setVillageCode(String villageCode) { + this.villageCode = villageCode; + } + + public String getFullAreaCode() { + return fullAreaCode == null ? "" : fullAreaCode.trim(); + } + + public void setFullAreaCode(String fullAreaCode) { + this.fullAreaCode = fullAreaCode; + } + public String getUserLng() { return userLng == null ? "" : userLng.trim(); }