{ "name": "TicketTracking", "base": "Loggable", "log": { "model": "TicketLog", "relation": "ticket", "showField": "stateFk" }, "options": { "mysql": { "table": "ticketTracking" } }, "properties": { "id": { "id": true, "type": "Number", "forceId": false }, "created": { "type": "Date" }, "ticketFk": { "type": "Number" }, "stateFk": { "type": "Number" }, "workerFk": { "type": "Number" } }, "relations": { "ticket": { "type": "belongsTo", "model": "Ticket", "foreignKey": "ticketFk" }, "state": { "type": "belongsTo", "model": "State", "foreignKey": "stateFk" }, "worker": { "type": "belongsTo", "model": "Worker", "foreignKey": "workerFk" } } }