Files
CalendarReminder/CalendarReminder.Domain/Entities/Reminder.cs
T
2026-06-05 21:39:38 +02:00

18 lines
539 B
C#

namespace CalendarReminder.Domain.Entities;
public class Reminder
{
public int Id { get; set; }
public string Title { get; set; } = "";
public string? Description { get; set; }
public DateTime ReminderDate { get; set; }
public bool IsCompleted { get; set; }
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public bool NotificationSent { get; set; }
// FK
public int UserId { get; set; }
public User? User { get; set; }
public ICollection<ReminderShare> Shares { get; set; } = [];
}