{ "name": "TicketLastState", "base": "VnModel", "options": { "mysql": { "table": "ticketLastState" } }, "properties": { "name": { "type": "string" }, "ticketFk": { "id": true, "type": "Number" }, "ticketTrackingFk": { "type": "Number" } }, "relations": { "ticket": { "type": "belongsTo", "model": "Ticket", "foreignKey": "ticketFk" }, "ticketTracking": { "type": "belongsTo", "model": "TicketTracking", "foreignKey": "ticketTrackingFk" } } }