d85f2e0fb3
Bootstraper läd jetzt die farbeinstellung sofort und nicht nachträglich cleanup and rework PDF switch to HTML export fix Colorsystem Farben für knöpfe hinzugefügt als anpassung button color button color primary and secondary change
26 lines
490 B
C#
26 lines
490 B
C#
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;
|
|
}
|
|
}
|