{ "name": "OrderTicket", "base": "PersistedModel", "options": { "mysql": { "table": "orderTicket" } }, "properties": { "orderFk": { "id": true, "type": "Number" }, "ticketFk": { "id": true, "type": "Number" } }, "relations": { "ticket": { "type": "belongsTo", "model": "Ticket", "foreignKey": "ticketFk" }, "order": { "type": "belongsTo", "model": "Order", "foreignKey": "orderFk" } } }