新增人员地区编码

This commit is contained in:
wanggeng 2022-01-22 12:39:02 +08:00
parent 69329e9b7a
commit acc54820e4

View File

@ -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();
}