package com.matrix.system.app.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import javax.validation.constraints.NotBlank;
|
|
/**
|
* @author wzy
|
* @date 2021-01-06
|
**/
|
@ApiModel(value = "PwdModifyDto", description = "修改密码接口参数接收类")
|
public class PwdModifyDto {
|
|
@NotBlank(message = "参数错误")
|
@ApiModelProperty(value = "老密码", example = "123456")
|
private String oldPwd;
|
|
@NotBlank(message = "参数错误")
|
@ApiModelProperty(value = "新密码", example = "123456")
|
private String newPwd;
|
|
public String getOldPwd() {
|
return oldPwd;
|
}
|
|
public void setOldPwd(String oldPwd) {
|
this.oldPwd = oldPwd;
|
}
|
|
public String getNewPwd() {
|
return newPwd;
|
}
|
|
public void setNewPwd(String newPwd) {
|
this.newPwd = newPwd;
|
}
|
}
|