Documentation

TourOperator 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.
agency()  : mixed
Get the modules of the item.
invoicePredefinedTexts()  : HasMany

Properties

$fillable

The attributes that are mass assignable.

protected array<string|int, mixed> $fillable = ['code', 'name_1', 'address_1', 'name_2', 'address_2', 'name_3', 'address_3', 'contact', 'city', 'zip', 'state', 'country', 'payment', 'downpayment', 'restpayment_days', 'travel_documents_days', 'option_days', 'language', 'active', 'own']

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

$table

The table associated with the model.

protected string $table = 'tour_operators'

$with

The extra attributes that should be showed for arrays.

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

Methods

agency()

Get the modules of the item.

public agency() : mixed
Return values
mixed

invoicePredefinedTexts()

public invoicePredefinedTexts() : HasMany
Tags
desc

Get the invoice predefined texts of the item.

Return values
HasMany

Search results