| | |
| | | * 密码,密码的MD5加密 |
| | | */ |
| | | @Schema(description = "密码", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @Length(message = "密码必须{max}位数据", min = 6, max = 6) |
| | | @Length(message = "密码必须{max}位数据", min = 5, max = 20) |
| | | public String password; |
| | | |
| | | /** |
| | |
| | | |
| | | @Schema(description = "密码", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "密码不能为空") //不能为空也不能为null |
| | | @Length(message = "密码必须{min}位", min = 5, max = 6) |
| | | @Length(message = "密码必须{min}位", min = 5, max = 20) |
| | | public String password ; |
| | | |
| | | @Schema(description = "组织单位", requiredMode = Schema.RequiredMode.REQUIRED) |