Documentation

State extends Model

Table of Contents

$timestamps  : mixed
$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.
country()  : mixed
Get the user type of the item.
vehicleLocations()  : mixed
Get the user type of the item.

Properties

$timestamps

public mixed $timestamps = false

$fillable

The attributes that are mass assignable.

protected array<string|int, mixed> $fillable = ["uuid", "code", "name"]

$guarded

The attributes that are not mass assignable.

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

$hidden

The attributes that should be hidden for arrays.

protected array<string|int, mixed> $hidden = ["uuid", "country_id", "code"]

$table

The table associated with the model.

protected string $table = "states"

$with

The extra attributes that should be showed for arrays.

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

Methods

country()

Get the user type of the item.

public country() : mixed
Return values
mixed

vehicleLocations()

Get the user type of the item.

public vehicleLocations() : mixed
Return values
mixed

Search results