using System.ComponentModel.DataAnnotations;

namespace MemberCenter.Web.Models.Admin;

public sealed class EmailBlacklistFormViewModel
{
    [Display(Name = "Email")]
    [Required(ErrorMessage = "The {0} field is required.")]
    [EmailAddress(ErrorMessage = "The {0} field is not a valid e-mail address.")]
    public string Email { get; set; } = string.Empty;

    [Display(Name = "Reason")]
    [Required(ErrorMessage = "The {0} field is required.")]
    public string Reason { get; set; } = string.Empty;
}
