BookingInvoice 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 booking of the item.
- booking() : BelongsTo
- Get the booking of the item.
- verifactu() : HasOne
Properties
$fillable
The attributes that are mass assignable.
protected
array<string|int, mixed>
$fillable
= ["agency_id", "booking_id", "booking_items", "invoice_type", "invoice_serie", "invoice_number", "invoice_total", "taxes", "payment_details", "invoice_rectification_reason", "invoice_date", "invoice_data"]
$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", "invoice_data"]
$table
The table associated with the model.
protected
string
$table
= "booking_invoices"
$with
The extra attributes that should be showed for arrays.
protected
array<string|int, mixed>
$with
= []
Methods
agency()
Get the booking of the item.
public
agency() : mixed
Return values
mixed —booking()
Get the booking of the item.
public
booking() : BelongsTo
Return values
BelongsTo —verifactu()
public
verifactu() : HasOne