<?php

namespace App\Models\Stats\Daily;

use App\Models\Stats\BaseStatModel;

class StatFinanceDaily extends BaseStatModel
{
    protected $table = 'stat_finance_daily';

    protected $casts = [
        'stat_date' => 'date',
        'deposit_amount' => 'decimal:2',
        'withdrawal_amount' => 'decimal:2',
        'net_cashflow' => 'decimal:2',
        'purchase_amount' => 'decimal:2',
        'purchase_tax_amount' => 'decimal:2',
        'receivable_balance' => 'decimal:2',
        'payable_balance' => 'decimal:2',
        'overdue_receivable' => 'decimal:2',
        'bill_issued_amount' => 'decimal:2',
        'bill_matured_amount' => 'decimal:2',
        'card_transaction_amount' => 'decimal:2',
        'bank_balance_total' => 'decimal:2',
    ];
}
