using System.ComponentModel.DataAnnotations;

namespace clivelancaster.Models
{
    public class SubscribeFormModel
    {
        [Key]
        public int id { get; set; }

        [Required]
        [EmailAddress]
        [StringLength(255)]
        public required string email { get; set; }

        [Required]
        public DateTime datesubscribed { get; set; } = DateTime.Now;
    }
}
