Files
components/LiteCharms.Features.TechShop/Notifications/Models/Records.cs
T
Khwezi Mngoma 70c6e0bfbc
continuous-integration/drone/pr Build is passing
Split Features to create space for more projects
2026-05-24 13:19:09 +02:00

42 lines
1012 B
C#

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; }
}