Update UmsAdminLoginParam.java
This commit is contained in:
parent
79a28254a4
commit
6bb4477a37
@ -13,10 +13,10 @@ import javax.validation.constraints.NotEmpty;
|
|||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper = false)
|
@EqualsAndHashCode(callSuper = false)
|
||||||
public class UmsAdminLoginParam {
|
public class UmsAdminLoginParam {
|
||||||
@ApiModelProperty(value = "用户名", required = true)
|
@NotEmpty
|
||||||
@NotEmpty(message = "用户名不能为空")
|
@ApiModelProperty(value = "用户名",required = true)
|
||||||
private String username;
|
private String username;
|
||||||
@ApiModelProperty(value = "密码", required = true)
|
@NotEmpty
|
||||||
@NotEmpty(message = "密码不能为空")
|
@ApiModelProperty(value = "密码",required = true)
|
||||||
private String password;
|
private String password;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user