<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class IssuedCheque extends Model
{
    protected $table = 'issued_cheque'; 
    protected $fillable = [
        'grn_no', 'cheque_no', 'bank_name', 'branch_name', 'cheque_date', 'amount'
    ];

    public function expense()
    {
        return $this->belongsTo(Expense::class);
    }
}
