新增用户可以手动填写用户id

This commit is contained in:
2023-07-27 14:08:11 +08:00
parent 77cda9ae6e
commit ecb099f12a
2 changed files with 12 additions and 1 deletions

View File

@@ -98,6 +98,11 @@ public class UserParam {
@NotBlank(message = UserValidMessage.LOGIN_NAME_NOT_BLANK)
@Pattern(regexp = PatternRegex.LOGIN_NAME_REGEX, message = UserValidMessage.LOGIN_NAME_FORMAT_ERROR)
private String loginName;
@ApiModelProperty("用户表Id")
@NotBlank(message = UserValidMessage.ID_NOT_BLANK)
@Pattern(regexp = PatternRegex.SYSTEM_ID, message = ValidMessage.ID_FORMAT_ERROR)
private String id;
}