Apps Community apps Services Model Service

Model Service

namespace HubletoApp\Services\Models\Service

List of services/products available in the system.

Constants

This model does not define constants.

Properties

Property Value
 eloquentClass Eloquent\Service::class
 table services
 lookupSqlValue [TABLE].name

Data Scructure

Column Title ADIOS Type Length Required
id ID  int TRUE
name Name  varchar TRUE
price Unit Price  float TRUE
unit Unit  varchar TRUE
description Description  varchar TRUE
id_currency Currency  lookup TRUE

Foreign Keys

Column Model Relation OnUpdate OnDelete
id_currency Modules\Core\Settings\Models\Currency 1:1 Cascade SET NULL

Indexes

Only  default indexes are used.

Relations

Relation Type Other parameters
CURRENCY HAS_ONE Currency::class, 'id', 'id_currency'
www.hubleto.com | Found a bug or missing something? Report an issue via GitHub.