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