State
extends Model
in package
uses
HasFactory
State Model
This model manages state/province information for the airport system. It stores state names, codes, and country associations for geographic organization and location-based services.
Tags
Table of Contents
Properties
- $fillable : array<string|int, string>
- The attributes that are mass assignable.
Methods
- __construct() : void
- Create a new State model instance.
Properties
$fillable
The attributes that are mass assignable.
protected
array<string|int, string>
$fillable
= ['id', 'state_name', 'state_code', 'country_id', 'status', 'created_at', 'updated_at']
Methods
__construct()
Create a new State model instance.
public
__construct() : void
Sets the table name from configuration constants.