<?php

namespace App\Models;

class BankReconciliationItem extends BaseModel
{
    protected $fillable = [
        'company_id',
        'bank_reconciliation_id',
        'ledger_entry_id',
    ];

    public function reconciliation()
    {
        return $this->belongsTo(BankReconciliation::class, 'bank_reconciliation_id');
    }

    public function ledgerEntry()
    {
        return $this->belongsTo(LedgerEntry::class);
    }
}
