using EventFlow.Aggregates;

namespace Books.Api.Domain.Accounts.Events;

public class AccountUpdatedEvent(
    string name,
    string? parentId,
    string? description,
    string? vatCodeId) : AggregateEvent<AccountAggregate, AccountId>
{
    public string Name { get; } = name;
    public string? ParentId { get; } = parentId;
    public string? Description { get; } = description;
    public string? VatCodeId { get; } = vatCodeId;
}
