{ "name": "Stowaway", "base": "VnModel", "options": { "mysql": { "table": "stowaway" } }, "properties": { "id": { "id": true, "type": "number", "forceId": false }, "shipFk": { "type": "number", "required": false }, "created":{ "type": "date", "required": false } }, "relations": { "ship": { "type": "belongsTo", "model": "Ticket", "foreignKey": "shipFk" }, "ticket": { "type": "belongsTo", "model": "Ticket", "foreignKey": "id" } } }