Initial commit

This commit is contained in:
2026-04-23 21:38:24 -04:00
commit 63e12a9636
1762 changed files with 1672620 additions and 0 deletions
@@ -0,0 +1,21 @@
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; }
}