namespace CashLineERP.Application.Reporting;

public sealed record AgingReportView(
    string LedgerSideCode,
    DateOnly AsOfDate,
    int DocumentCount,
    int PartyCount,
    decimal TotalOutstandingAmount,
    decimal CurrentAmount,
    decimal Bucket1To30Amount,
    decimal Bucket31To60Amount,
    decimal Bucket61To90Amount,
    decimal Bucket90PlusAmount,
    IReadOnlyCollection<AgingReportRowView> Rows);
