Helius
2020-11-04 3e559a23137c7c992add11029b53a578d867b4d3
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 = "MemberBindPhoneDto", description = "绑定手机号参数接收类")
public class MemberBindPhoneDto {
    
    @NotBlank(message = "手机验证码不能为空")
    @ApiModelProperty(value = "手机验证码", example = "123456")
    private String code;
 
    @NotBlank(message = "邮箱验证码不能为空")
    @ApiModelProperty(value = "邮箱验证码", example = "123456")
    private String otherCode;
    
    @NotBlank(message = "电话号码不能为空")
    @ApiModelProperty(value = "电话号码", example = "13412341234")
    private String phone;
 
}