Helius
2020-07-07 fae05b7ffe899ab996f7a9c31b4c96df7964a0de
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 = "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;
 
}