xiaoyong931011
2020-06-01 b30a22e97dfe1a7c098123ec0dbbad1b99b7c885
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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 = "MemberTradersPwdDto", description = "设置交易密码参数接收类")
public class MemberTradersPwdDto {
    
    @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;
 
}