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