package com.yuchen.saas.park.api.dto.property;

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

import javax.validation.constraints.NotBlank;

/**
 * @Author 蔡文强
 * @Date 2023/12/18 15:56
 * @Description 验证验证码是否正确传参
 */
@Data
public class PropertyVerifyCodeDto {

    @ApiModelProperty(value = "手机号")
    @NotBlank(message = "手机号不能为空")
    private String phone;

    @ApiModelProperty(value = "验证码")
    @NotBlank(message = "验证码不能为空")
    private String code;
}
