Documentation

VehicleOffice extends Model Uses SoftDeletes, 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.
company()  : mixed
Get the agency of the item.
location()  : mixed
Get the agency of the item.
schedules()  : mixed
Get the agency of the item.
vehicles()  : mixed
Get the vehicles of the office.
boot()  : mixed

Properties

$fillable

The attributes that are mass assignable.

protected array<string|int, mixed> $fillable = ['agency_id', 'rental_company_id', 'vehicle_location_id', 'address', 'details', 'lat', 'lng', 'vat']

$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 = ['created_at', 'updated_at', 'deleted_at']

$table

The table associated with the model.

protected string $table = "vehicle_offices"

$with

The extra attributes that should be showed for arrays.

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

Methods

company()

Get the agency of the item.

public company() : mixed
Return values
mixed

location()

Get the agency of the item.

public location() : mixed
Return values
mixed

schedules()

Get the agency of the item.

public schedules() : mixed
Return values
mixed

vehicles()

Get the vehicles of the office.

public vehicles() : mixed
Return values
mixed

boot()

protected static boot() : mixed
Return values
mixed

Search results