Files
lct2025-lonolith/LctMonolith/Models/Notification.cs
2025-09-30 02:16:37 +03:00

15 lines
480 B
C#

namespace LctMonolith.Models;
public class Notification
{
public Guid Id { get; set; } = Guid.NewGuid();
public Guid UserId { get; set; }
public AppUser User { get; set; } = null!;
public string Type { get; set; } = null!;
public string Title { get; set; } = null!;
public string Message { get; set; } = null!;
public bool IsRead { get; set; }
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public DateTime? ReadAt { get; set; }
}