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 = "MemberUpdateTradePwdDto", description = "修改资金密码参数接收类")
|
public class MemberUpdateTradePwdDto {
|
|
@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;
|
|
@NotNull(message = "验证账号不能为空")
|
@ApiModelProperty(value = "验证账号", example = "13412341234")
|
private String account;
|
|
}
|