Files
PowderCoatingLogix/src/PowderCoating.Core/Entities/InAppNotification.cs
T
2026-04-23 21:38:24 -04:00

22 lines
749 B
C#

namespace PowderCoating.Core.Entities;
public class InAppNotification : BaseEntity
{
public string Title { get; set; } = string.Empty;
public string Message { get; set; } = string.Empty;
public string? Link { get; set; }
public string NotificationType { get; set; } = string.Empty; // QuoteApproved, QuoteDeclined, InvoicePaid
public bool IsRead { get; set; }
public DateTime? ReadAt { get; set; }
// Optional FK links for context
public int? QuoteId { get; set; }
public int? InvoiceId { get; set; }
public int? CustomerId { get; set; }
// Navigation
public virtual Quote? Quote { get; set; }
public virtual Invoice? Invoice { get; set; }
public virtual Customer? Customer { get; set; }
}