using Books.Api.Domain.Invoices;
using EventFlow.Aggregates;

namespace Books.Api.Domain.Invoices.Events;

/// <summary>
/// Raised when a line is removed from an invoice draft.
/// </summary>
public class InvoiceLineRemovedEvent(int lineNumber) : AggregateEvent<InvoiceAggregate, InvoiceId>
{
    public int LineNumber { get; } = lineNumber;
}
