package com.qnfhq.modules.user.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class CheckPhoneCodeDTO {

    @Schema(title = "验证码类型")
    @NotBlank(message="{NotBlank.codeType}")//验证码类型不能空
    private String codeType;

    @Schema(title = "手机号")
    @NotBlank(message="{NotBlank.phone}")//手机号不能为空
    private String phone;

    @Schema(title = "区号")
    @NotBlank(message="{NotBlank.zone}")//区号不能为空
    private String zone;

    @Schema(title = "验证码")
    @NotBlank(message="{NotBlank.code}")//验证码不能为空
    private String code;
}
