<?php

namespace App\Models;

use CodeIgniter\Model;

class MenuModel extends Model
{
    protected $table      = 'menu';
    protected $primaryKey = 'id';
    protected $returnType = 'object';
    protected $allowedFields = [
        'order',
        'name',
        'is_admin',
        'url',          // <-- Add 'url' to allowed fields
    ];
}
