namespace CashLineERP.Application.IslamicFinance.ReceivablesFinance;

public sealed record IslamicFinanceReceivablesCaseDetailView(
    long ReceivablesCaseId,
    string CaseNumber,
    long FinancingRequestId,
    long CustomerPartyId,
    long PartnerLenderId,
    long? FacilityId,
    long ProductProfileId,
    string TransactionCurrencyCode,
    decimal TotalReceivableAmount,
    decimal FinancedAmount,
    decimal AdvanceRatePercent,
    string StatusCode,
    long? WorkflowInstanceId,
    DateTime CreatedAtUtc,
    long? CreatedByUserId,
    DateTime? SubmittedAtUtc,
    long? SubmittedByUserId,
    DateTime? ApprovedAtUtc,
    long? ApprovedByUserId,
    DateTime? ActivatedAtUtc,
    long? ActivatedByUserId,
    DateTime? UpdatedAtUtc,
    long? UpdatedByUserId,
    IReadOnlyCollection<IslamicFinanceReceivablesCaseLineView> Lines);
