Airport Guide Documentation

Viator extends Model
in package
uses HasFactory

Viator Model

This model manages Viator tour and activity services for airports. It stores comprehensive details about tour products, pricing, vehicle types, and destination information for airport-based tours.

Tags
used-by
PageController::redirectLinkViator()

Model to query activity data by airport code and ID

Table of Contents

Properties

$fillable  : array<string|int, string>
The attributes that are mass assignable.

Methods

__construct()  : void
Create a new Viator model instance.

Properties

$fillable

The attributes that are mass assignable.

protected array<string|int, string> $fillable = ['id', 'airport_name', 'code_airport', 'city', 'state', 'product_code', 'title', 'description', 'image_url', 'from_price', 'per_group', 'product_url', 'destination_id', 'destination_name', 'type_cars', 'of_or_to', 'created_at', 'updated_at', 'sedan', 'suv', 'bus', 'Stretched_limo', 'van', 'misc', 'status', 'hide_reason', 'suv_img', 'sedan_img', 'van_img', 'bus_img', 'stretched_limo_img']

Methods

__construct()

Create a new Viator model instance.

public __construct() : void

Sets the table name from configuration constants.


        
On this page

Search results