Update UmsAdminLoginParam.java

This commit is contained in:
macro 2020-08-29 14:59:30 +08:00
parent 79a28254a4
commit 6bb4477a37

View File

@ -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;
}