2024-11-10 23:28:25 +01:00
|
|
|
using System;
|
|
|
|
|
using SQLite;
|
|
|
|
|
using Wino.Core.Domain.Enums;
|
|
|
|
|
|
2025-02-16 11:54:23 +01:00
|
|
|
namespace Wino.Core.Domain.Entities.Calendar;
|
|
|
|
|
|
|
|
|
|
public class Reminder
|
2024-11-10 23:28:25 +01:00
|
|
|
{
|
2025-02-16 11:54:23 +01:00
|
|
|
[PrimaryKey]
|
|
|
|
|
public Guid Id { get; set; }
|
|
|
|
|
public Guid CalendarItemId { get; set; }
|
2024-11-10 23:28:25 +01:00
|
|
|
|
2026-01-01 15:02:40 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Duration in seconds before the event start time when the reminder should trigger.
|
|
|
|
|
/// For example, 900 seconds = 15 minutes before event.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long DurationInSeconds { get; set; }
|
2025-02-16 11:54:23 +01:00
|
|
|
public CalendarItemReminderType ReminderType { get; set; }
|
2024-11-10 23:28:25 +01:00
|
|
|
}
|