{ "name": "ClientInforma", "base": "Loggable", "log": { "model":"ClientLog", "relation": "client", "showField": "clientFk" }, "options": { "mysql": { "table": "clientInforma" } }, "properties": { "id": { "type": "number", "id": true, "description": "Identifier" }, "rating": { "type": "number" }, "recommendedCredit": { "type": "number" }, "created": { "type": "date" } }, "relations": { "worker": { "type": "belongsTo", "model": "Worker", "foreignKey": "workerFk" }, "client": { "type": "belongsTo", "model": "Client", "foreignKey": "clientFk" } } }