package com.fufan.mtsaas.aliyun.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

//import javax.validation.constraints.NotBlank;

@Data
public class VerifyVerificationCode {

    @NotBlank
    @ApiModelProperty(value = "接收短信的手机号码", required = true)
    private String phoneNumber;

//    @ApiModelProperty(value = "短信模板ID，不传使用默认配置")
    private String templateCode;

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

}
