Migrated database changes after refactoring the Notification model
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user