Commit 6bb4477a authored by macro's avatar macro
Browse files

Update UmsAdminLoginParam.java

parent 79a28254
...@@ -13,10 +13,10 @@ import javax.validation.constraints.NotEmpty; ...@@ -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;
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment