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