{ "name": "ClientSample", "base": "Loggable", "log": { "model": "ClientLog", "relation": "client", "showField": "type" }, "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" }, "user": { "type": "belongsTo", "model": "VnUser", "foreignKey": "userFk" }, "VnUser": { "type": "belongsTo", "model": "VnUser", "foreignKey": "userFk" }, "company": { "type": "belongsTo", "model": "Company", "foreignKey": "companyFk" } } }