Airport Guide Documentation

RoleModAccess extends Model
in package
uses HasFactory

Role Module Access Model

This model manages role-based module access control for the security system. It stores role-module relationships and access types for implementing granular access control to system modules and features.

Table of Contents

Properties

$incrementing  : bool
Indicates that the model should not auto-increment.
$fillable  : array<string|int, string>
The attributes that are mass assignable.
$primaryKey  : string|null
Indicates that the model has no primary key.

Methods

__construct()  : void
Create a new RoleModAccess model instance.

Properties

$incrementing

Indicates that the model should not auto-increment.

public bool $incrementing = false

$fillable

The attributes that are mass assignable.

protected array<string|int, string> $fillable = ['role_id', 'module_id', 'acceess_type', 'created_by', 'updated_by', 'created_at', 'updated_at']

$primaryKey

Indicates that the model has no primary key.

protected string|null $primaryKey = null

Methods

__construct()

Create a new RoleModAccess model instance.

public __construct() : void

Sets the table name from configuration constants.


        
On this page

Search results