mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-01-31 17:40:05 +08:00
Update SysUserBaseVO.java
限制用户账号长度最小为四个字符
This commit is contained in:
parent
fcad34a5bf
commit
b538de17bc
@ -17,7 +17,7 @@ public class SysUserBaseVO {
|
|||||||
|
|
||||||
@ApiModelProperty(value = "用户账号", required = true, example = "yudao")
|
@ApiModelProperty(value = "用户账号", required = true, example = "yudao")
|
||||||
@NotBlank(message = "用户账号不能为空")
|
@NotBlank(message = "用户账号不能为空")
|
||||||
@Size(max = 30, message = "用户账号长度不能超过30个字符")
|
@Size(min = 4, max = 30, message = "用户账号长度为 4-30 个字符")
|
||||||
private String username;
|
private String username;
|
||||||
|
|
||||||
@ApiModelProperty(value = "用户昵称", required = true, example = "芋艿")
|
@ApiModelProperty(value = "用户昵称", required = true, example = "芋艿")
|
||||||
|
Loading…
Reference in New Issue
Block a user