using System.ComponentModel.DataAnnotations;

namespace MemberCenter.Web.Models.Newsletter;

public sealed class PreferencesViewModel
{
    [Required]
    public Guid ListId { get; set; }

    [Required]
    [EmailAddress]
    public string Email { get; set; } = string.Empty;

    public string PreferencesJson { get; set; } = "{}";
}
