{ "name": "TicketWeekly", "base": "Loggable", "log": { "model": "TicketLog", "relation": "ticket", "showField": "ticketFk" }, "options": { "mysql": { "table": "ticketWeekly" } }, "properties": { "ticketFk": { "id": true, "type": "Number" }, "weekDay": { "type": "Number" } }, "relations": { "ticket": { "type": "belongsTo", "model": "Ticket", "foreignKey": "ticketFk" } } }