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 = "PwdResetDto", description = "密码重置接收类")
|
public class PwdResetDto {
|
|
@NotBlank(message = "参数错误")
|
@ApiModelProperty(value = "手机号", example = "11")
|
private String telphone;
|
|
@NotBlank(message = "参数错误")
|
@ApiModelProperty(value = "验证码", example = "123456")
|
private String code;
|
|
@NotBlank(message = "参数错误")
|
@ApiModelProperty(value = "新密码", example = "123456")
|
private String newPwd;
|
|
|
public String getCode() {
|
return code;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
}
|
|
public String getNewPwd() {
|
return newPwd;
|
}
|
|
public void setNewPwd(String newPwd) {
|
this.newPwd = newPwd;
|
}
|
|
public String getTelphone() {
|
return telphone;
|
}
|
|
public void setTelphone(String telphone) {
|
this.telphone = telphone;
|
}
|
}
|