<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class BankTransfar extends Model
{
    use HasFactory, SoftDeletes;

    protected $fillable = [
        'account_id',
        'check_no',
        'diposit_amount',
        'withdraw_amount',
        'description',
        'by',
        'status',
    ];

    public function bank()
    {
        return $this->belongsTo(Banking::class, 'account_id');
    }
}
