BookingFlight
extends Model
Uses
HasFactory, SoftDeletes
Table of Contents
-
$fillable
: mixed
-
$hidden
: mixed
-
$table
: mixed
-
$with
: mixed
-
bookingItem()
: mixed
-
destination()
: mixed
-
origin()
: mixed
-
storeValidator()
: mixed
-
updateValidator()
: mixed
$fillable
protected
mixed
$fillable
= ['from_airport_id', 'to_airport_id', 'airline_code', 'date', 'time', 'flight_nr', 'class', 'price', 'taxes', 'taxes_percent']
$hidden
protected
mixed
$hidden
= ['created_at', 'updated_at', 'deleted_at']
$table
protected
mixed
$table
= 'booking_flights'
$with
protected
mixed
$with
= ['origin', 'destination']
bookingItem()
public
bookingItem() : mixed
Return values
mixed
—
destination()
public
destination() : mixed
Return values
mixed
—
origin()
public
origin() : mixed
Return values
mixed
—
storeValidator()
public
storeValidator(mixed $agency_id, mixed $data) : mixed
Parameters
-
$agency_id
: mixed
-
-
$data
: mixed
-
Return values
mixed
—
updateValidator()
public
updateValidator(mixed $agency_id, mixed $data) : mixed
Parameters
-
$agency_id
: mixed
-
-
$data
: mixed
-
Return values
mixed
—