提交 130bfa5a 编写于 作者: M macro

Update UmsAdminParam.java

上级 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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册