{ "name": "OrderTicket", "base": "VnModel", "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" } } }