This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
namespace LiteCharms.Features.TechShop.Notifications.Models;
|
||||
|
||||
public record CreateNotification
|
||||
{
|
||||
public required NotificationDirection Direction { get; set; }
|
||||
|
||||
public required string Sender { get; set; }
|
||||
|
||||
public required string SenderAddress { get; set; }
|
||||
|
||||
public required string Subject { get; set; }
|
||||
|
||||
public string? Message { get; set; }
|
||||
|
||||
public required NotificationPlatforms Platform { get; set; }
|
||||
|
||||
public required Priorities Priority { get; set; }
|
||||
|
||||
public required string Recipient { get; set; }
|
||||
|
||||
public required string RecipientAddress { get; set; }
|
||||
|
||||
public string? CorrelationId { get; set; }
|
||||
|
||||
public CorrelationIdTypes CorrelationIdType { get; set; }
|
||||
|
||||
public bool IsInternal { get; set; }
|
||||
|
||||
public bool IsHtml { get; set; }
|
||||
}
|
||||
|
||||
public class UpdateNotification
|
||||
{
|
||||
public required Guid NotificationId { get; set; }
|
||||
|
||||
public required bool Processed { get; set; }
|
||||
|
||||
public bool HasError { get; set; }
|
||||
|
||||
public string[]? Errors { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user