{ "name": "Greuge", "base": "Loggable", "log": { "model": "ClientLog", "relation": "client", "showField": "description" }, "options": { "mysql": { "table": "greuge" } }, "properties": { "id": { "id": true, "type": "number", "description": "Identifier" }, "description": { "type": "string", "required": true }, "amount": { "type": "number", "required": true }, "shipped": { "type": "date" }, "created": { "type": "date" }, "greugeTypeFk": { "type": "number", "required": true } }, "relations": { "client": { "type": "belongsTo", "model": "Client", "foreignKey": "clientFk" }, "ticket": { "type": "belongsTo", "model": "Ticket", "foreignKey": "ticketFk" }, "greugeType": { "type": "belongsTo", "model": "GreugeType", "foreignKey": "greugeTypeFk" }, "user": { "type": "belongsTo", "model": "Account", "foreignKey": "userFk" } } }