Helius
2021-06-15 fbcab0b620a393bc89e3760dd702aab874d94269
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
package com.xcong.excoin.modules.member.parameter.dto;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
@Data
@ApiModel(value = "MemberBindEmailDto", description = "绑定邮箱参数接收类")
public class MemberBindEmailDto {
    
    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty(value = "验证码", example = "123456")
    private String code;
 
    @NotBlank(message = "手机验证码验证码不能为空")
    @ApiModelProperty(value = "手机验证码验证码", example = "123456")
    private String otherCode;
    
    @NotBlank(message = "邮箱不能为空")
    @ApiModelProperty(value = "邮箱", example = "www.13412341234@134.com")
    private String email;
 
}