Model BillingAccount
namespace HubletoApp\Billing\Models\BillingAccount
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum cursus, orci sit amet dictum aliquet, nisl nulla condimentum est, congue venenatis leo velit ut massa. Vivamus vitae risus sapien. Maecenas metus quam, mattis vel sapien vel, vulputate tempor ante.
Constants
This model does not define constants.
Properties
Property | Value |
---|---|
eloquentClass | Eloquent\BillingAccount::class |
table | billing_accounts |
lookupSqlValue | [TABLE].description |
Attributes
Column | Title | ADIOS Type | Length | Required |
---|---|---|---|---|
id | ID | int | TRUE | |
id_company | Company | lookup | TRUE | |
description | Description | varchar | TRUE |
Foreign Keys
Only default foreign keys are used.
Indexes
Only default indexes are used.
Relations
Relation | Type | Other parameters |
---|---|---|
SERVICES | HAS_MANY | BillingAccountService::class, 'id_billing_account', 'id' |
COMPANY | BELONGS_TO | Company::class, 'id_company', 'id' |
Read more about working with relations
Overrides
Method | Description |
---|---|
tableDescribe | Definition of default UI parameters for TableBillingAccountServices.tsx component |