EPG-Erinnerungen: Rechtsklick auf Sendung, Glocke-Indikator, MessageBox-Benachrichtigung
This commit is contained in:
parent
faa852016d
commit
5bf1f06bfe
4 changed files with 175 additions and 0 deletions
16
Models/Reminder.cs
Normal file
16
Models/Reminder.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
namespace FritzTV.Models;
|
||||
|
||||
public class Reminder
|
||||
{
|
||||
public Guid Id { get; set; } = Guid.NewGuid();
|
||||
public required string ChannelName { get; set; }
|
||||
public required string Title { get; set; }
|
||||
public string Description { get; set; } = "";
|
||||
public DateTime StartTime { get; set; }
|
||||
public DateTime EndTime { get; set; }
|
||||
public int MinutesBefore { get; set; } = 5;
|
||||
public bool Fired { get; set; } = false;
|
||||
|
||||
/// <summary>Zeitpunkt zu dem die Benachrichtigung ausgelöst wird</summary>
|
||||
public DateTime NotifyAt => StartTime.AddMinutes(-MinutesBefore);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue