BookingDocument 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.
- booking() : mixed
- Get the booking of the item.
- getDamageReferenceAttribute() : mixed
- getPathAttribute() : string
- Get the modified value of the field meta_image
- getPathOriginalAttribute() : string
- Get the original value of the field google_image
Properties
$fillable
The attributes that are mass assignable.
protected
array<string|int, mixed>
$fillable
= ["booking_id", "name", "description", "path", "type", "damage_reference"]
$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
= "booking_documents"
Methods
booking()
Get the booking of the item.
public
booking() : mixed
Return values
mixed —getDamageReferenceAttribute()
public
getDamageReferenceAttribute(mixed $value) : mixed
Parameters
- $value : mixed
Return values
mixed —getPathAttribute()
Get the modified value of the field meta_image
public
getPathAttribute(mixed $value) : string
Parameters
- $value : mixed
Return values
string —getPathOriginalAttribute()
Get the original value of the field google_image
public
getPathOriginalAttribute() : string