<?php

namespace Modules\Settings\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\MorphTo;

class BankInfo extends Model
{
    /**
     * The attributes that are mass assignable.
     */
    protected $fillable = [
        'bank_name',
        'account_name',
        'account_no',
        'branch',
        'routing_no'
    ];

    public $timestamps = false;

    public function bankinfoable(): MorphTo
    {
        return $this->morphTo();
    }
}
