Completed refactor
This commit is contained in:
@@ -16,7 +16,7 @@ public class Notification
|
||||
|
||||
public CorrelationIdTypes CorrelationIdType { get; set; }
|
||||
|
||||
public string? Sender { get; set; }
|
||||
public string? SenderAddress { get; set; }
|
||||
|
||||
public string? SenderName { get; set; }
|
||||
|
||||
@@ -24,7 +24,7 @@ public class Notification
|
||||
|
||||
public string? Message { get; set; }
|
||||
|
||||
public string? Recipient { get; set; }
|
||||
public string? RecipientName { get; set; }
|
||||
|
||||
public string? RecipientAddress { get; set; }
|
||||
|
||||
|
||||
@@ -2,23 +2,23 @@
|
||||
|
||||
public record CreateNotification
|
||||
{
|
||||
public NotificationDirection Direction { get; set; }
|
||||
public required NotificationDirection Direction { get; set; }
|
||||
|
||||
public string? Sender { get; set; }
|
||||
public required string Sender { get; set; }
|
||||
|
||||
public string? SenderAddress { get; set; }
|
||||
public required string SenderAddress { get; set; }
|
||||
|
||||
public string? Subject { get; set; }
|
||||
public required string Subject { get; set; }
|
||||
|
||||
public string? Message { get; set; }
|
||||
|
||||
public NotificationPlatforms Platform { get; set; }
|
||||
public required NotificationPlatforms Platform { get; set; }
|
||||
|
||||
public Priorities Priority { get; set; }
|
||||
public required Priorities Priority { get; set; }
|
||||
|
||||
public string? Recipient { get; set; }
|
||||
public required string Recipient { get; set; }
|
||||
|
||||
public string? RecipientAddress { get; set; }
|
||||
public required string RecipientAddress { get; set; }
|
||||
|
||||
public string? CorrelationId { get; set; }
|
||||
|
||||
@@ -31,9 +31,9 @@ public record CreateNotification
|
||||
|
||||
public class UpdateNotification
|
||||
{
|
||||
public Guid NotificationId { get; set; }
|
||||
public required Guid NotificationId { get; set; }
|
||||
|
||||
public bool Processed { get; set; }
|
||||
public required bool Processed { get; set; }
|
||||
|
||||
public bool HasError { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user