FacilityUse
extends Model
in package
uses
HasFactory
FacilityUse Model for managing facility use classifications and operational purposes.
This model is used to create and manage facility use data including facility purpose classifications and operational use categorizations for airport facilities. It provides a structured interface for storing and retrieving facility use information such as facility use identifiers and use classifications. The model supports comprehensive facility use management including use categorization, facility purpose classification, and operational use organization for enhanced airport guide platform functionality and facility management systems.
Table of Contents
Properties
- $facility_use : string
- $id : int
- $fillable : array<string|int, mixed>
- The attributes that are mass assignable for facility use records.
Methods
- __construct() : void
- Initialize the FacilityUse model with the correct database table configuration.
Properties
$facility_use
public
string
$facility_use
The facility use classification or operational purpose
$id
public
int
$id
The unique identifier for the facility use record
$fillable
The attributes that are mass assignable for facility use records.
protected
array<string|int, mixed>
$fillable
= ['id', 'facility_use']
This property defines the fields that can be mass-assigned when creating or updating FacilityUse records. It includes all essential facility use fields such as identification and facility use classifications. The fillable attributes ensure data integrity while allowing efficient bulk operations for facility use management and categorization across different facility uses and operational purpose systems.
Methods
__construct()
Initialize the FacilityUse model with the correct database table configuration.
public
__construct() : void
This function is used to create a properly configured FacilityUse model instance by setting the database table name from the configuration constants. It ensures that the model interacts with the correct database table for facility use data information, which is essential for proper facility use storage and retrieval operations. The constructor dynamically assigns the table name based on the FACILITY_USE configuration constant to maintain flexibility and configuration-driven behavior for facility use data management.