package com.sikey.wa04.business.infrastructure.dto.request.user;

import com.sikey.wa04.common.constants.PatternConstant;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Pattern;

public record SMSCodeRequest(
        @NotEmpty(message = "手机号不能为空")
//        @Pattern(regexp = PatternConstant.PHONE_PATTERN, message = "手机号格式错误")
        String phoneNumber,
        @NotEmpty(message = "区号不能为空")
        String areaCode
) {
}
