Apps Community apps Documents Model Document

Model Document

namespace HubletoApp\Documents\Models\Documents

List of all documents that were uploaded to the system.

Constants

This model does not define constants.

Properties

Property Value
 eloquentClass Eloquent\Document::class
 table documents
 lookupSqlValue [TABLE].name

Data Scructure

Column Title ADIOS Type Length Required
id ID  int TRUE
name Document Name  varchar TRUE
file File  file TRUE

Foreign Keys

This model does not contain any foreing keys

Indexes

Only  default indexes are used.

Relations

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