package com.xcong.excoin.modules.member.parameter.dto;
|
|
import javax.validation.constraints.NotNull;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
@Data
|
@ApiModel(value = "MemberUpdatePwdDto", description = "修改密码参数接收类")
|
public class MemberUpdatePwdDto {
|
|
@NotNull(message = "验证码不能为空")
|
@ApiModelProperty(value = "验证码", example = "123456")
|
private String code;
|
|
@NotNull(message = "新密码不能为空")
|
@ApiModelProperty(value = "新密码", example = "qq123456")
|
private String password;
|
|
@NotNull(message = "验证类型不能为空")
|
@ApiModelProperty(value = "验证类型 1 手机号码 2 邮箱", example = "1")
|
private int type;
|
|
@ApiModelProperty(value = "电话号码", example = "13412341234")
|
private String phone;
|
|
@ApiModelProperty(value = "邮箱", example = "www.13412341234@123.com")
|
private String email;
|
|
}
|