<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;

/**
 * Tipe menu (mis. Side menu, Top menu) — RPD §12.2 menu_type.
 *
 * @property int $id
 * @property string $type
 */
class MenuType extends Model
{
    protected $fillable = ['type'];

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