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