From e0105c6c1572ebd103c935c6439f70acb7679cb0 Mon Sep 17 00:00:00 2001 From: "382696293@qq.com" <382696293@qq.com> Date: Tue, 26 Dec 2023 15:06:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=AB=AF=E5=AE=8C?= =?UTF-8?q?=E5=96=84=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF=E5=8C=BA=E5=9F=9F?= =?UTF-8?q?=E6=9C=AA=E4=BF=9D=E5=AD=98=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/vo/UserMemberUpdateVo.java | 69 ++++++++++++++----- 1 file changed, 51 insertions(+), 18 deletions(-) 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; + } }