|
@@ -6,6 +6,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|
|
import javax.validation.constraints.NotBlank;
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
import java.io.Serializable;
|
|
|
+import java.util.Date;
|
|
|
|
|
|
/**
|
|
|
* 实名认证请求对象
|
|
@@ -28,6 +29,13 @@ public class RealnameAuthReq implements Serializable {
|
|
|
@ApiModelProperty(value = "是否修改用户信息", required = true)
|
|
|
private Boolean isSave;
|
|
|
|
|
|
+ // 性别(1,男 0,女)
|
|
|
+ private int gender;
|
|
|
+ // 出生日期
|
|
|
+ private Date birthday;
|
|
|
+ // 头像
|
|
|
+ private String avatar;
|
|
|
+
|
|
|
public String getRealName() {
|
|
|
return realName;
|
|
|
}
|
|
@@ -51,4 +59,28 @@ public class RealnameAuthReq implements Serializable {
|
|
|
public void setSave(Boolean save) {
|
|
|
isSave = save;
|
|
|
}
|
|
|
+
|
|
|
+ public int getGender() {
|
|
|
+ return gender;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setGender(int gender) {
|
|
|
+ this.gender = gender;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getBirthday() {
|
|
|
+ return birthday;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBirthday(Date birthday) {
|
|
|
+ this.birthday = birthday;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getAvatar() {
|
|
|
+ return avatar;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAvatar(String avatar) {
|
|
|
+ this.avatar = avatar;
|
|
|
+ }
|
|
|
}
|