Apps Community apps Leads Model LeadLabel

Model LeadLabel

namespace HubletoApp\Leads\Models\LeadLabel

Labels given to a Lead

Constants

This model does not define constants.

Properties

Property Value
 eloquentClass Eloquent\LeadLabel::class
 table lead_labels
 lookupSqlValue [TABLE].id

Data Scructure

Column Title ADIOS Type Length Required
id_lead Lead  lookup TRUE
id_label Label  lookup TRUE

Foreign Keys

Column Model Relation OnUpdate OnDelete
id_lead Modules\Sales\Leads\Models\Lead 1:1 Cascade Restrict
id_label Modules\Core\Settings\Models\Label 1:1 Cascade Restrict

Indexes

Only  default indexes are used.

Relations

Relation Type Other parameters
LEAD BELONGS_TO Lead::class, 'id_lead','id'
LABEL BELONGS_TO Label::class, 'id_label','id'
www.hubleto.com | Found a bug or missing something? Report an issue via GitHub.