Documentation

BookingOther extends Model Uses HasFactory, SoftDeletes

Table of Contents

$dates  : array<string|int, mixed>
Column for soft deletes
$fillable  : array<string|int, mixed>
The attributes that are mass assignable.
$hidden  : array<string|int, mixed>
The attributes that should be hidden for arrays.
$table  : string
The table associated with the model.
$with  : array<string|int, mixed>
The extra attributes that should be showed for arrays.
bookingItem()  : mixed
storeValidator()  : mixed
updateValidator()  : mixed

Properties

$dates

Column for soft deletes

protected array<string|int, mixed> $dates = ["deleted_at"]

$fillable

The attributes that are mass assignable.

protected array<string|int, mixed> $fillable = ['name', 'description', 'price', 'taxes', 'taxes_percent', "start_date", "end_date"]

$hidden

The attributes that should be hidden for arrays.

protected array<string|int, mixed> $hidden = ['created_at', 'updated_at', 'deleted_at']

$table

The table associated with the model.

protected string $table = 'booking_others'

$with

The extra attributes that should be showed for arrays.

protected array<string|int, mixed> $with = []

Methods

bookingItem()

public bookingItem() : 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

Search results