Documentation

InvoicePredefinedText extends Model Uses HasFactory, SoftDeletes

Table of Contents

$casts  : array<string|int, mixed>
The attributes that should be cast.
$dates  : array<string|int, mixed>
Column for soft deletes
$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.
tourOperator()  : BelongsTo

Properties

$casts

The attributes that should be cast.

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

$fillable

The attributes that are mass assignable.

protected array<string|int, mixed> $fillable = ['name', 'text', 'images']

$guarded

The attributes that are not mass assignable.

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

$hidden

The attributes that should be hidden for arrays.

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

$table

The table associated with the model.

protected string $table = "invoice_predefined_texts"

$with

The extra attributes that should be showed for arrays.

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

Methods

tourOperator()

public tourOperator() : BelongsTo
Tags
desc

Get the tour operator of the item.

Return values
BelongsTo

Search results