<?php

namespace App\Models\systemAdministration;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use App\Models\systemAdministration\category;


class subCategory extends Model
{
    use HasFactory;
    protected $table='sub_categories';

    public function sub_category(){
        return $this->belongsTo(category::class,'category_id','id');
    }
   

}
