...
|
...
|
@@ -24,7 +24,7 @@ public class USERS implements UserDetails { |
|
|
private Integer userId;
|
|
|
|
|
|
@NotBlank(message="用户名不能为空",groups={InsertUser.class, UpdateUser.class})
|
|
|
@Length(min = 1, max = 11, message = "username 长度必须在 {min} - {max} 之间",groups={InsertUser.class, UpdateUser.class})
|
|
|
@Length(min = 1, max = 18, message = "username 长度必须在 {min} - {max} 之间",groups={InsertUser.class, UpdateUser.class})
|
|
|
@CheckUserExist(message = "用户已存在",groups=InsertUser.class)
|
|
|
private String username;
|
|
|
|
...
|
...
|
|