<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Product extends Model
{
                protected $guarded = [];

    public function categories()
    {
        return $this->belongsTo('App\categories','cat_id');
    }



}
