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; }