namespace khmer_eid_backend.Requests;

using System.ComponentModel.DataAnnotations;

public class SignupRequest
{
    [Required]
    [RegularExpression(@"^\+855\d{8,9}$", ErrorMessage = "Phone number must be in the format +855XXXXXXXX or +855XXXXXXXXX")]
    public string Phone { get; set; } = default!;
}