using System.ComponentModel.DataAnnotations; namespace LiteCharms.Features.Email.Models; public sealed class EmailEnquiryModel { [Required] [MinLength(2)] [MaxLength(255)] [System.ComponentModel.DataAnnotations.Display(Name = "Full Name")] public string? FullName { get; set; } [Required] [EmailAddress] [MinLength(5)] [MaxLength(255)] [System.ComponentModel.DataAnnotations.Display(Name = "Email Address")] public string? EmailAddress { get; set; } [Required] [MinLength(2)] [MaxLength(255)] [System.ComponentModel.DataAnnotations.Display(Name = "Subject")] public string? EmailSubject { get; set; } [Required] [MinLength(2)] [MaxLength(2000)] [System.ComponentModel.DataAnnotations.Display(Name = "Message")] public string? Message { get; set; } }