AirportsAirportflyer
extends Model
in package
uses
HasFactory
AirportsAirportflyer Model for managing airport data with SEO and content management features.
This model is used to create and manage airport data specifically designed for the airport flyer platform, including comprehensive airport information, SEO optimization features, and content management capabilities. It provides a structured interface for storing and retrieving airport-specific data such as basic airport information, enplanement statistics, ownership details, official links, visual content, and SEO meta information. The model supports comprehensive airport data management including geographic information, operational statistics, content management flags, and search engine optimization features for enhanced airport guide platform functionality.
Tags
Table of Contents
Properties
- $about : string|null
- $airnav_link : string|null
- $airport : string
- $airport_address : string|null
- $airport_id : int
- $airportflyer_link : string|null
- $city : string
- $contact_number : string|null
- $created_at : string
- $current : string
- $custom_meta_tags : string|null
- $enplaned : int
- $hub : string
- $id : int
- $img_name : string|null
- $img_path : string|null
- $img_status : int
- $is_major : int
- $locid : string
- $map_url : string|null
- $meta_description : string|null
- $meta_title : string|null
- $official_website : string|null
- $ownership : string
- $role : string
- $short_airport : string
- $sitemap_flag : int
- $state : string
- $total_count : int
- $updated_at : string
- $webp_image : string|null
- $wikipedia_link : string|null
- $year_5 : int
- $fillable : array<string|int, mixed>
- The attributes that are mass assignable for airport flyer platform records.
Methods
- __construct() : void
- Initialize the AirportsAirportflyer model with the correct database table configuration.
Properties
$about
public
string|null
$about
Detailed description and information about the airport
$airnav_link
public
string|null
$airnav_link
The AirNav reference link for the airport
$airport
public
string
$airport
The full airport name
$airport_address
public
string|null
$airport_address
The physical address of the airport
$airport_id
public
int
$airport_id
The foreign key reference to the airport
$airportflyer_link
public
string|null
$airportflyer_link
The airport flyer platform link
$city
public
string
$city
The city name where the airport is located
$contact_number
public
string|null
$contact_number
The airport contact phone number
$created_at
public
string
$created_at
Timestamp when the record was created
$current
public
string
$current
The current status or classification
$custom_meta_tags
public
string|null
$custom_meta_tags
Custom meta tags for SEO optimization
$enplaned
public
int
$enplaned
The number of enplaned passengers
$hub
public
string
$hub
The hub classification information
$id
public
int
$id
The unique identifier for the airport record
$img_name
public
string|null
$img_name
The airport image filename
$img_path
public
string|null
$img_path
The file path for the airport image
$img_status
public
int
$img_status
The image status indicator
$is_major
public
int
$is_major
Flag indicating if this is a major airport
$locid
public
string
$locid
The airport location identifier code
$map_url
public
string|null
$map_url
The URL for the airport map
$meta_description
public
string|null
$meta_description
The SEO meta description for the airport page
$meta_title
public
string|null
$meta_title
The SEO meta title for the airport page
$official_website
public
string|null
$official_website
The official airport website URL
$ownership
public
string
$ownership
The airport ownership information
$role
public
string
$role
The airport's role or classification
$short_airport
public
string
$short_airport
The abbreviated airport name
$sitemap_flag
public
int
$sitemap_flag
Flag indicating if the airport should be included in sitemap
$state
public
string
$state
The state name where the airport is located
$total_count
public
int
$total_count
The total count or ranking value
$updated_at
public
string
$updated_at
Timestamp when the record was last updated
$webp_image
public
string|null
$webp_image
The WebP format airport image filename
$wikipedia_link
public
string|null
$wikipedia_link
The Wikipedia page URL for the airport
$year_5
public
int
$year_5
The five-year period identifier
$fillable
The attributes that are mass assignable for airport flyer platform records.
protected
array<string|int, mixed>
$fillable
= ['id', 'state', 'city', 'airport', 'locid', 'year_5', 'enplaned', 'airportflyer_link', 'ownership', 'role', 'airport_id', 'hub', 'current', 'about', 'official_website', 'wikipedia_link', 'airnav_link', 'contact_number', 'airport_address', 'img_name', 'img_path', 'created_at', 'updated_at', 'short_airport', 'webp_image', 'sitemap_flag', 'total_count', 'img_status', 'custom_meta_tags', 'meta_title', 'meta_description', 'map_url', 'is_major']
This property defines the fields that can be mass-assigned when creating or updating AirportsAirportflyer records. It includes all essential airport flyer platform fields such as geographic information, airport details, operational statistics, content management features, SEO optimization fields, visual content, and platform-specific flags. The fillable attributes ensure data integrity while allowing efficient bulk operations for airport flyer platform data management with enhanced SEO and content management capabilities.
Methods
__construct()
Initialize the AirportsAirportflyer model with the correct database table configuration.
public
__construct() : void
This function is used to create a properly configured AirportsAirportflyer model instance by setting the database table name from the configuration constants. It ensures that the model interacts with the correct database table for airport flyer platform data information, which is essential for proper airport data storage and retrieval operations. The constructor dynamically assigns the table name based on the AIRPORTS_AIRPORTFLYER configuration constant to maintain flexibility and configuration-driven behavior for airport flyer platform data management.