Update UmsAdminParam.java
This commit is contained in:
parent
095a1762c9
commit
130bfa5a17
@ -14,16 +14,16 @@ import javax.validation.constraints.NotEmpty;
|
|||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
public class UmsAdminParam {
|
public class UmsAdminParam {
|
||||||
|
@NotEmpty
|
||||||
@ApiModelProperty(value = "用户名", required = true)
|
@ApiModelProperty(value = "用户名", required = true)
|
||||||
@NotEmpty(message = "用户名不能为空")
|
|
||||||
private String username;
|
private String username;
|
||||||
|
@NotEmpty
|
||||||
@ApiModelProperty(value = "密码", required = true)
|
@ApiModelProperty(value = "密码", required = true)
|
||||||
@NotEmpty(message = "密码不能为空")
|
|
||||||
private String password;
|
private String password;
|
||||||
@ApiModelProperty(value = "用户头像")
|
@ApiModelProperty(value = "用户头像")
|
||||||
private String icon;
|
private String icon;
|
||||||
|
@Email
|
||||||
@ApiModelProperty(value = "邮箱")
|
@ApiModelProperty(value = "邮箱")
|
||||||
@Email(message = "邮箱格式不合法")
|
|
||||||
private String email;
|
private String email;
|
||||||
@ApiModelProperty(value = "用户昵称")
|
@ApiModelProperty(value = "用户昵称")
|
||||||
private String nickName;
|
private String nickName;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user