<?php

namespace Portal\Mileage\Model;

use Illuminate\Database\Eloquent\Model;

class AclRole extends Model
{
    protected $table = 'acl_roles'; // ⚠️ must be your roles definition table
    protected $primaryKey = 'id';
    public $timestamps = false;

    public function users()
    {
        return $this->belongsToMany(
            \App\Models\User::class,
            'acl_role_user',
            'role_id',
            'user_id'
        );
    }
}

