using EventFlow.Aggregates;

namespace Books.Api.Domain.Orders.Events;

/// <summary>
/// Raised when a line is removed from an order draft.
/// </summary>
public class OrderLineRemovedEvent(int lineNumber) : AggregateEvent<OrderAggregate, OrderId>
{
    public int LineNumber { get; } = lineNumber;
}
