Documentation

ServiceContract extends Model Uses HasFactory

Table of Contents

$appends  : array<string|int, mixed>
The accessors to append to the model's array form.
$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.
$hidden  : array<string|int, mixed>
The attributes excluded from the model's JSON form.
$table  : string
The table associated with the model.
$with  : array<string|int, mixed>
The attributes that should be cast.

Properties

$appends

The accessors to append to the model's array form.

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

$casts

The attributes that should be cast.

protected array<string|int, mixed> $casts = ['premium' => 'boolean', 'employees' => 'integer', 'amount' => 'float', 'invoice' => 'object']

$dates

Column for soft deletes

protected array<string|int, mixed> $dates = ["deleted_at"]

$fillable

The attributes that are mass assignable.

protected array<string|int, mixed> $fillable = ['store_id', 'rep_full_name', 'rep_dni', 'company_name', 'company_cif', 'zip', 'town', 'state', 'phone', 'email', 'company_address', 'employees', 'signature', 'account_number', 'code', 'premium', 'quote', 'amount', 'invoice', 'ds_merchant_identifier', 'ds_merchant_cof_txnid', 'ds_card_number', 'ds_expiry_date']

$hidden

The attributes excluded from the model's JSON form.

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

$table

The table associated with the model.

protected string $table = "service_contract"

$with

The attributes that should be cast.

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

Search results