<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class GenVoucherNo extends Model
{
    use SoftDeletes;

    protected $table = 'gen_voucher_no';
    protected $primaryKey = 'gvn_no';

    protected $fillable = [
        'prifix',
        'Dept',
        'Text',
        'FY',
        'No',
        'prifix_dev_type',
        'dept_dev_type',
        'text_dev_type',
        'no_dev_type',
        'Is_Active'

    ];

    // public function department()
    // {
    //     return $this->belongsTo(Department::class, 'Dept_Id', 'Dept_Id');
    // }
}
