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