class Item extends Model

Properties

protected string $table The table associated with the model.
protected array $with The eager loaded models.
protected array $appends The accessors to append to the model's array form.

Methods

string
getKeyType()

Get the foreign key native type.

static void
boot()

The "booting" method of the model.

supplier()

Get the supplier.

producer()

Get the producer.

product()

Get the product.

int
getTotalAttribute()

Get items total.

int
getVatAttribute()

Get the vat factor.

Details

at line 43
string getKeyType()

Get the foreign key native type.

Return Value

string

at line 53
static protected void boot()

The "booting" method of the model.

Return Value

void

at line 65
supplier()

Get the supplier.

at line 73
producer()

Get the producer.

at line 81
product()

Get the product.

at line 91
int getTotalAttribute()

Get items total.

Return Value

int

at line 101
int getVatAttribute()

Get the vat factor.

Return Value

int