namespace DXPDAL.Common; // Payload pushed to a vendor's connected DXPHub clients — one shape for every notification kind // (PO acknowledged, ASN created, invoice submitted, ...) per the "Universal Inbox" reuse pattern // named in the DXP plan (Part F), rather than one client method per event type. public class DXPNotificationDTO { public string EventType { get; set; } = string.Empty; public int DxpPartyId { get; set; } public int? MMHeadId { get; set; } public string? ReferenceNumber { get; set; } public string Message { get; set; } = string.Empty; public DateTime OccurredOn { get; set; } } public static class DXPNotificationEventTypes { public const string PoAcknowledged = "PoAcknowledged"; public const string AsnCreated = "AsnCreated"; public const string InvoiceSubmitted = "InvoiceSubmitted"; }