{ "name": "ClientSample", "base": "VnModel", "options": { "mysql": { "table": "clientSample" } }, "properties": { "id": { "id": true, "type": "Number", "description": "Identifier" }, "created": { "type": "date" } }, "relations": { "client": { "type": "belongsTo", "model": "Client", "foreignKey": "clientFk" }, "type": { "type": "belongsTo", "model": "Sample", "foreignKey": "typeFk" }, "worker": { "type": "belongsTo", "model": "Worker", "foreignKey": "workerFk" }, "account": { "type": "belongsTo", "model": "Account", "foreignKey": "userFk" }, "company": { "type": "belongsTo", "model": "Company", "foreignKey": "companyFk" } } }