Commit 130bfa5a authored by macro's avatar macro
Browse files

Update UmsAdminParam.java

parent 095a1762
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment