{ "name": "Dms", "description": "Documental Managment system", "base": "VnModel", "options": { "mysql": { "table": "dms" } }, "properties": { "id": { "type": "Number", "id": true, "description": "Identifier" }, "file": { "type": "string" }, "reference": { "type": "string" }, "description": { "type": "string" }, "created": { "type": "Date" } }, "relations": { "dmsType": { "type": "belongsTo", "model": "DmsType", "foreignKey": "dmsTypeFk" }, "worker": { "type": "belongsTo", "model": "Worker", "foreignKey": "workerFk" }, "warehouse": { "type": "belongsTo", "model": "Warehouse", "foreignKey": "warehouseFk" }, "company": { "type": "belongsTo", "model": "Company", "foreignKey": "companyFk" } } }