import { PayoutAudit } from "./payout-audit.model";

export class PayOutModel{
    id: string;

    //parent
    loan: string

    //parties
    id_user: string
    role: string;

    //
    amount: number;

    //paid
    paid: boolean;
    paid_date: Date;
    paid_to: string; //bank details;

    //confirmed, by receiptient
    confirmed: boolean;

    //source
    source?: string;

    //audit
    audits: PayoutAudit[];
}
