using EventFlow.Aggregates;

namespace Books.Api.Domain.Companies.Events;

public class CompanyBankDetailsUpdatedEvent(
    string? bankName,
    string? bankRegNo,
    string? bankAccountNo,
    string? bankIban,
    string? bankBic) : AggregateEvent<CompanyAggregate, CompanyId>
{
    public string? BankName { get; } = bankName;
    public string? BankRegNo { get; } = bankRegNo;
    public string? BankAccountNo { get; } = bankAccountNo;
    public string? BankIban { get; } = bankIban;
    public string? BankBic { get; } = bankBic;
}
