<?php

namespace App\Models\Shop;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Staudenmeir\EloquentHasManyDeep\HasRelationships;

class Shelve extends Model
{
    use HasRelationships;

    protected $guarded = ['id'];

    protected $table = 'categories';

    public function articles(): HasMany
    {
        return $this->hasMany(Article::class);
    }
}
