{ "name": "TicketDms", "base": "Loggable", "log": { "model": "TicketLog", "relation": "ticket", "showField": "dmsFk" }, "options": { "mysql": { "table": "ticketDms" } }, "properties": { "ticketFk": { "type": "Number", "id": true, "required": true }, "dmsFk": { "type": "Number", "id": true, "required": true } }, "relations": { "ticket": { "type": "belongsTo", "model": "Ticket", "foreignKey": "ticketFk" }, "dms": { "type": "belongsTo", "model": "Dms", "foreignKey": "dmsFk" } } }