namespace CashLineERP.Contracts.Finance;

public sealed record ForeignExchangeRevaluationResponse(
    long ForeignExchangeRevaluationId,
    string RevaluationNumber,
    long AccountingPeriodId,
    DateOnly RevaluationDate,
    string BaseCurrencyCode,
    string? Notes,
    string StatusCode,
    decimal TotalGainBaseAmount,
    decimal TotalLossBaseAmount,
    decimal NetVarianceBaseAmount,
    DateTime? SubmittedAtUtc,
    long? SubmittedByUserId,
    DateTime? ApprovedAtUtc,
    long? ApprovedByUserId,
    DateTime? PostedAtUtc,
    long? PostedByUserId,
    long? GeneralLedgerBatchId,
    IReadOnlyCollection<ForeignExchangeRevaluationLineResponse> Lines);
