using SQLite; namespace cfs_tracker.Models; [Table("NotificationSchedules")] public class NotificationSchedule { [PrimaryKey, AutoIncrement] public int Id { get; set; } public int DayOfWeekValue { get; set; } public int Hour { get; set; } public int Minute { get; set; } public bool IsEnabled { get; set; } = true; [Ignore] public DayOfWeek DayOfWeek { get => (DayOfWeek)DayOfWeekValue; set => DayOfWeekValue = (int)value; } }