This commit is contained in:
@@ -1,5 +1,21 @@
|
||||
namespace LiteCharms.Models;
|
||||
|
||||
public enum Priorities : int
|
||||
{
|
||||
Low = 0,
|
||||
Medium = 1,
|
||||
High = 2,
|
||||
}
|
||||
|
||||
public enum NotificationPlatforms : int
|
||||
{
|
||||
Email = 1,
|
||||
Discord = 2,
|
||||
Slack = 3,
|
||||
WhatsApp = 4,
|
||||
System = 5
|
||||
}
|
||||
|
||||
public enum QuoteStatus : int
|
||||
{
|
||||
Draft = 0,
|
||||
|
||||
@@ -6,22 +6,32 @@ public class Notification
|
||||
|
||||
public DateTimeOffset CreatedAt { get; set; }
|
||||
|
||||
public DateTimeOffset? UpdatedAt { get; set; }
|
||||
|
||||
public NotificationDirection Direction { get; set; }
|
||||
|
||||
public string? Author { get; set; }
|
||||
public NotificationPlatforms Platform { get; set; }
|
||||
|
||||
public string? Title { get; set; }
|
||||
public Priorities Priority { get; set; }
|
||||
|
||||
public string? Description { get; set; }
|
||||
public string? Sender { get; set; }
|
||||
|
||||
public string? Platform { get; set; }
|
||||
public string? SenderName { get; set; }
|
||||
|
||||
public string? PlatformAddress { get; set; }
|
||||
public string? Subject { get; set; }
|
||||
|
||||
public string? Message { get; set; }
|
||||
|
||||
public string? Recipient { get; set; }
|
||||
|
||||
public string? RecipientAddress { get; set; }
|
||||
|
||||
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; }
|
||||
|
||||
@@ -12,11 +12,17 @@ public class Order
|
||||
|
||||
public Guid? QuoteId { get; set; }
|
||||
|
||||
public Guid ShoppingCartId { get; set; }
|
||||
public Guid ShoppingCartId { get; set; }
|
||||
|
||||
public Guid? RefundId { get; set; }
|
||||
|
||||
public OrderStatus Status { get; set; }
|
||||
|
||||
public string[]? Requirements { get; set; }
|
||||
|
||||
public string[]? Notes { get; set; }
|
||||
|
||||
public string[]? Terms { get; set; }
|
||||
|
||||
public bool DepositRequired { get; set; }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
namespace LiteCharms.Models;
|
||||
|
||||
public class Package
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public DateTimeOffset CreatedAt { get; set; }
|
||||
|
||||
public DateTimeOffset? UpdatedAt { get; set; }
|
||||
|
||||
public string? Name { get; set; }
|
||||
|
||||
public string? Description { get; set; }
|
||||
|
||||
public bool Active { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
namespace LiteCharms.Models;
|
||||
|
||||
public class PackageItem
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public Guid PackageId { get; set; }
|
||||
|
||||
public Guid ProductPriceId { get; set; }
|
||||
|
||||
public DateTimeOffset CreatedAt { get; set; }
|
||||
|
||||
public bool Active { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
namespace LiteCharms.Models;
|
||||
|
||||
public class ShoppingCartPackage
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public DateTimeOffset CreatedAt { get; set; }
|
||||
|
||||
public Guid ShoppingCartId { get; set; }
|
||||
|
||||
public Guid PackageId { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user