diff --git a/flossom-modules/flossom-mini-program/src/main/java/com/flossom/miniProgram/domain/vo/UserMemberUpdateVo.java b/flossom-modules/flossom-mini-program/src/main/java/com/flossom/miniProgram/domain/vo/UserMemberUpdateVo.java index c084660..deb7f96 100644 --- a/flossom-modules/flossom-mini-program/src/main/java/com/flossom/miniProgram/domain/vo/UserMemberUpdateVo.java +++ b/flossom-modules/flossom-mini-program/src/main/java/com/flossom/miniProgram/domain/vo/UserMemberUpdateVo.java @@ -25,19 +25,37 @@ public class UserMemberUpdateVo { * 省 */ @NotNull(message = "请选择省") - private Integer provinceId; + private Long provinceId; + + /** + * 省 + */ + @NotNull(message = "请选择省") + private String province; + + /** + * 市 + */ + @NotNull(message = "请选择市") + private Long cityId; /** * 市 */ @NotNull(message = "请选择市") - private Integer cityId; + private String city; /** * 区 */ @NotNull(message = "请选择区") - private Integer areaId; + private Long areaId; + + /** + * 区 + */ + @NotNull(message = "请选择区") + private String area; /** * 生日 @@ -49,15 +67,6 @@ public class UserMemberUpdateVo { public UserMemberUpdateVo() { } - public UserMemberUpdateVo(String nickname, String headimg, Integer provinceId, Integer cityId, Integer areaId, Date birthday) { - this.nickname = nickname; - this.headimg = headimg; - this.provinceId = provinceId; - this.cityId = cityId; - this.areaId = areaId; - this.birthday = birthday; - } - public String getNickname() { return nickname; } @@ -74,27 +83,27 @@ public class UserMemberUpdateVo { this.headimg = headimg; } - public Integer getProvinceId() { + public Long getProvinceId() { return provinceId; } - public void setProvinceId(Integer provinceId) { + public void setProvinceId(Long provinceId) { this.provinceId = provinceId; } - public Integer getCityId() { + public Long getCityId() { return cityId; } - public void setCityId(Integer cityId) { + public void setCityId(Long cityId) { this.cityId = cityId; } - public Integer getAreaId() { + public Long getAreaId() { return areaId; } - public void setAreaId(Integer areaId) { + public void setAreaId(Long areaId) { this.areaId = areaId; } @@ -105,4 +114,28 @@ public class UserMemberUpdateVo { public void setBirthday(Date birthday) { this.birthday = birthday; } + + public String getProvince() { + return province; + } + + public void setProvince(String province) { + this.province = province; + } + + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + public String getArea() { + return area; + } + + public void setArea(String area) { + this.area = area; + } }