Documentation

BookingParticipant extends Model Uses HasFactory

Table of Contents

$fillable  : array<string|int, mixed>
The attributes that are mass assignable.
$guarded  : array<string|int, mixed>
The attributes that are not 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.
booking()  : mixed
Get the customers of the item.
customer()  : mixed
Get the customers of the item.

Properties

$fillable

The attributes that are mass assignable.

protected array<string|int, mixed> $fillable = ["booking_id", "customer_id"]

$guarded

The attributes that are not mass assignable.

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

$hidden

The attributes that should be hidden for arrays.

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

$table

The table associated with the model.

protected string $table = "bookings_participants"

$with

The extra attributes that should be showed for arrays.

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

Methods

booking()

Get the customers of the item.

public booking() : mixed
Return values
mixed

customer()

Get the customers of the item.

public customer() : mixed
Return values
mixed

Search results