Documentation

Review extends Model Uses HasFactory

Table of Contents

$casts  : array<string|int, mixed>
The attributes that should be cast.
$fillable  : array<string|int, mixed>
The attributes that are mass assignable.
$hidden  : array<string|int, mixed>
The attributes excluded from the model's JSON form.
$table  : string
The table associated with the model.
booking()  : BelongsTo
Get the booking which owns this review
store()  : mixed

Properties

$casts

The attributes that should be cast.

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

$fillable

The attributes that are mass assignable.

protected array<string|int, mixed> $fillable = ['booking_id', 'store_id', 'service_id', 'employee_id', 'customer_id', 'general', 'store', 'service', 'employee']

$hidden

The attributes excluded from the model's JSON form.

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

$table

The table associated with the model.

protected string $table = "reviews"

Methods

booking()

Get the booking which owns this review

public booking() : BelongsTo
Return values
BelongsTo

store()

public store() : mixed
Return values
mixed

Search results