| | |
| | | |
| | | @Schema(description = "密码", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "密码不能为空") //不能为空也不能为null |
| | | @Length(message = "密码必须{min}位", min = 5, max = 6) |
| | | @Length(message = "密码不小于{min}位", min = 5, max = 30) |
| | | public String password ; |
| | | |
| | | @Schema(description = "组织单位", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "组织单位不能为空") //不能为空也不能为null |
| | | @Length(message = "组织单位标签必须大于{min}位", min = 2) |
| | | public String orgTag ; |
| | | |
| | | /** |
| | | * 图形验证码token,即session的key |
| | | */ |
| | | public String token; |
| | | |
| | | /** |
| | | * 图形验证码结果 |
| | | */ |
| | | public String code; |
| | | } |
| | | |