Update UpdateAdminPasswordParam.java
This commit is contained in:
parent
130bfa5a17
commit
343ebe13cb
@ -13,13 +13,13 @@ import javax.validation.constraints.NotEmpty;
|
||||
@Getter
|
||||
@Setter
|
||||
public class UpdateAdminPasswordParam {
|
||||
@NotEmpty
|
||||
@ApiModelProperty(value = "用户名", required = true)
|
||||
@NotEmpty(message = "用户名不能为空")
|
||||
private String username;
|
||||
@NotEmpty
|
||||
@ApiModelProperty(value = "旧密码", required = true)
|
||||
@NotEmpty(message = "旧密码不能为空")
|
||||
private String oldPassword;
|
||||
@NotEmpty
|
||||
@ApiModelProperty(value = "新密码", required = true)
|
||||
@NotEmpty(message = "新密码不能为空")
|
||||
private String newPassword;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user