ok

Mini Shell

Direktori : /home2/selectio/www/3idiotsgadgetstore.in/app/Model/
Upload File :
Current File : /home2/selectio/www/3idiotsgadgetstore.in/app/Model/Tag.php

<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Tag extends Model
{
    use HasFactory;

    protected $fillable = ['tag'];

    public function items()
    {
        return $this->belongsToMany(Product::class)->using(ProductTag::class);
    }
}

Zerion Mini Shell 1.0