PublicTransportation
extends Model
in package
uses
HasFactory
Public Transportation Model
This model manages public transportation services available at airports. It stores information about transportation companies, routes, pricing, and service details for airport connectivity.
Table of Contents
Properties
- $fillable : array<string|int, string>
- The attributes that are mass assignable.
Methods
- __construct() : void
- Create a new PublicTransportation model instance.
Properties
$fillable
The attributes that are mass assignable.
protected
array<string|int, string>
$fillable
= ['id', 'airport_id', 'airport_name', 'airport_code', 'city', 'state', 'company_name', 'route_name', 'product_url', 'company_desc', 'img_name', 'img_path', 'price', 'created_by', 'updated_by', 'created_at', 'updated_at']
Methods
__construct()
Create a new PublicTransportation model instance.
public
__construct() : void
Sets the table name from configuration constants.