绑定邮箱时添加国家、职业信息
This commit is contained in:
@@ -5,7 +5,6 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
@ApiModel("绑定邮箱")
|
||||
@@ -22,4 +21,12 @@ public class AccountBindEmailDTO {
|
||||
@NotBlank(message = "emailVerifyCode.cannot.be.empty")
|
||||
@ApiModelProperty("邮箱验证码")
|
||||
private String emailVerifyCode;
|
||||
|
||||
@NotBlank(message = "country cannot be empty" )
|
||||
@ApiModelProperty("国家")
|
||||
private String country;
|
||||
|
||||
@NotBlank(message = "occupation cannot be empty")
|
||||
@ApiModelProperty("职业")
|
||||
private String occupation;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user