18 lines
539 B
C#
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; } = [];
|
|
}
|