zeroframework/Services/DeviceCenter/ZeroFramework.DeviceCenter.Domain/Events/Ordering/OrderStatusChangedToAwaitingValidationDomainEvent.cs

15 lines
511 B
C#
Raw Permalink Normal View History

2023-12-05 09:22:48 +00:00
using MediatR;
using ZeroFramework.DeviceCenter.Domain.Aggregates.OrderAggregate;
namespace ZeroFramework.DeviceCenter.Domain.Events.Ordering
{
/// <summary>
/// Event used when the grace period order is confirmed
/// </summary>
public class OrderStatusChangedToAwaitingValidationDomainEvent(Guid orderId, IEnumerable<OrderItem> orderItems) : INotification
{
public Guid OrderId { get; } = orderId;
public IEnumerable<OrderItem> OrderItems { get; } = orderItems;
}
}