namespace CashLineERP.Application.IslamicFinance.Settlements;

public sealed record IslamicFinanceSettlementDetailView(
    long SettlementHeaderId,
    string SettlementNumber,
    long MurabahaCaseId,
    long FinancingRequestId,
    long PartnerLenderId,
    string FundingSourceMode,
    DateOnly SettlementDate,
    string SettlementCurrencyCode,
    decimal TotalSettledAmount,
    string StatusCode,
    long? WorkflowInstanceId,
    DateTime CreatedAtUtc,
    long? CreatedByUserId,
    DateTime? SubmittedAtUtc,
    long? SubmittedByUserId,
    DateTime? ApprovedAtUtc,
    long? ApprovedByUserId,
    DateTime? ClosedAtUtc,
    long? ClosedByUserId,
    DateTime? UpdatedAtUtc,
    long? UpdatedByUserId,
    IReadOnlyCollection<IslamicFinanceSettlementLineView> Lines);
