BookingStay
extends Model
Uses
HasFactory, SoftDeletes
Table of Contents
-
$fillable
: mixed
-
$hidden
: mixed
-
$table
: mixed
-
$with
: mixed
-
board()
: mixed
-
bookingItem()
: mixed
-
roomType()
: mixed
-
storeValidator()
: mixed
-
updateValidator()
: mixed
$fillable
protected
mixed
$fillable
= ['hotel', 'code', 'tour_operator_code', 'room_types_id', 'board_id', 'board_upgrade', 'board_price', 'board_taxes', 'board_taxes_percent', 'start', 'end', 'price', 'taxes', 'taxes_percent']
$hidden
protected
mixed
$hidden
= ['created_at', 'updated_at', 'deleted_at']
$table
protected
mixed
$table
= 'booking_stays'
$with
protected
mixed
$with
= ['roomType', 'board']
board()
public
board() : mixed
Return values
mixed
—
bookingItem()
public
bookingItem() : mixed
Return values
mixed
—
roomType()
public
roomType() : 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
—