Artcc
extends Model
in package
uses
HasFactory
Artcc Model for managing Air Route Traffic Control Center (ARTCC) information and data.
This model is used to create and manage ARTCC data including center identification, component information, and center names for air traffic control operations. It provides a structured interface for storing and retrieving ARTCC-specific data such as center identifiers, component relationships, and center naming conventions. The model supports comprehensive ARTCC data management including center identification, component relationships, and air traffic control center information for enhanced airport guide platform functionality and air traffic control system integration.
Table of Contents
Properties
- $artcc_comp_id : string
- $artcc_id : string
- $artcc_name : string
- $id : int
- $fillable : array<string|int, mixed>
- The attributes that are mass assignable for ARTCC records.
Methods
- __construct() : void
- Initialize the Artcc model with the correct database table configuration.
Properties
$artcc_comp_id
public
string
$artcc_comp_id
The ARTCC component identifier code
$artcc_id
public
string
$artcc_id
The ARTCC center identifier code
$artcc_name
public
string
$artcc_name
The full name of the ARTCC center
$id
public
int
$id
The unique identifier for the ARTCC record
$fillable
The attributes that are mass assignable for ARTCC records.
protected
array<string|int, mixed>
$fillable
= ['id', 'artcc_id', 'artcc_comp_id', 'artcc_name']
This property defines the fields that can be mass-assigned when creating or updating Artcc records. It includes all essential ARTCC fields such as identification, center identifiers, component relationships, and center naming information. The fillable attributes ensure data integrity while allowing efficient bulk operations for ARTCC data management and air traffic control center information storage.
Methods
__construct()
Initialize the Artcc model with the correct database table configuration.
public
__construct() : void
This function is used to create a properly configured Artcc model instance by setting the database table name from the configuration constants. It ensures that the model interacts with the correct database table for ARTCC data information, which is essential for proper air traffic control center data storage and retrieval operations. The constructor dynamically assigns the table name based on the ARTCC configuration constant to maintain flexibility and configuration-driven behavior for ARTCC data management.