Update SysUserBaseVO.java

限制用户账号长度最小为四个字符
pull/2/head
asas6559 2021-03-04 21:02:07 +08:00 committed by GitHub
parent fcad34a5bf
commit b538de17bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ public class SysUserBaseVO {
@ApiModelProperty(value = "用户账号", required = true, example = "yudao")
@NotBlank(message = "用户账号不能为空")
@Size(max = 30, message = "用户账号长度不能超过30个字符")
@Size(min = 4, max = 30, message = "用户账号长度为 4-30 个字符")
private String username;
@ApiModelProperty(value = "用户昵称", required = true, example = "芋艿")