|
@@ -13,10 +13,10 @@ import javax.validation.constraints.NotEmpty;
|
|
|
@Data
|
|
|
@EqualsAndHashCode(callSuper = false)
|
|
|
public class UmsAdminLoginParam {
|
|
|
- @ApiModelProperty(value = "用户名", required = true)
|
|
|
- @NotEmpty(message = "用户名不能为空")
|
|
|
+ @NotEmpty
|
|
|
+ @ApiModelProperty(value = "用户名",required = true)
|
|
|
private String username;
|
|
|
- @ApiModelProperty(value = "密码", required = true)
|
|
|
- @NotEmpty(message = "密码不能为空")
|
|
|
+ @NotEmpty
|
|
|
+ @ApiModelProperty(value = "密码",required = true)
|
|
|
private String password;
|
|
|
}
|