Migrated database changes after refactoring the Notification model

This commit is contained in:
Khwezi Mngoma
2026-05-10 15:27:26 +02:00
parent 394429677e
commit e8e9a85c57
20 changed files with 244 additions and 777 deletions
+15
View File
@@ -1,5 +1,20 @@
namespace LiteCharms.Models;
public enum CorrelationIdTypes : int
{
None = 0,
Email = 1,
Discord = 2,
Slack = 3,
Whatsapp = 4,
Customer = 5,
Order = 6,
Refund = 7,
Lead = 8,
Quote = 9,
LinkedIn = 10
}
public enum Priorities : int
{
Low = 0,
+6 -2
View File
@@ -14,6 +14,8 @@ public class Notification
public Priorities Priority { get; set; }
public CorrelationIdTypes CorrelationIdType { get; set; }
public string? Sender { get; set; }
public string? SenderName { get; set; }
@@ -28,11 +30,13 @@ public class Notification
public string? CorrelationId { get; set; }
public string? CorrelationIdType { get; set; }
public bool IsHtml { get; set; }
public bool IsInternal { get; set; }
public bool Processed { get; set; }
public bool HasError { get; set; }
public string[]? Errors { get; set; }
}