package com.yn.bftl.thirdparty.modules.unionpay.dto.account;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 校验验证码DTO
 *
 * @author huabiao
 * @create 2022/9/8  16:27
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "AccountCheckSmsDTO", description = "校验验证码DTO")
public class AccountCheckSmsDTO {

    @ApiModelProperty(value = "手机号", required = true)
    @NotBlank
    private String mobile;

    @ApiModelProperty(value = "验证码", required = true)
    @NotBlank
    private String code;
}
