using System.ComponentModel.DataAnnotations;

namespace Aberwyn.Models
{
    public class UserModel
    {
        public int UserID { get; set; }
        public string Username { get; set; }
        public string Name { get; set; }
    }
    public class UserPreferences
    {
        [Key]
        public string UserId { get; set; }

        public bool NotifyPizza { get; set; }
        public bool NotifyMenu { get; set; }
        public bool NotifyBudget { get; set; }

        public virtual ApplicationUser User { get; set; }
    }

        public class StoredPushSubscription
        {
        [Key]
        public int Id { get; set; }

        public string UserId { get; set; }

        public string Endpoint { get; set; }
        public string P256DH { get; set; }
        public string Auth { get; set; }

        public virtual ApplicationUser User { get; set; }
    }

    public class UserProfileViewModel
    {
        public string Name { get; set; }
        public string Email { get; set; }

        public bool NotifyPizza { get; set; }
        public bool NotifyMenu { get; set; }
        public bool NotifyBudget { get; set; }
    }

}
