using MediatR; using ZeroFramework.DeviceCenter.Domain.Aggregates.OrderAggregate; namespace ZeroFramework.DeviceCenter.Domain.Events.Ordering { /// /// Event used when the order is paid /// public class OrderStatusChangedToPaidDomainEvent(Guid orderId, IEnumerable orderItems) : INotification { public Guid OrderId { get; } = orderId; public IEnumerable OrderItems { get; } = orderItems; } }