{ "name": "MdbVersionTree", "base": "VnModel", "options": { "mysql": { "table": "mdbVersionTree" } }, "properties": { "app": { "type": "string", "description": "The app name", "id": true }, "version": { "type": "number" }, "branchFk": { "type": "string" }, "fromVersion": { "type": "number" }, "userFk": { "type": "number" } }, "relations": { "branch": { "type": "belongsTo", "model": "MdbBranch", "foreignKey": "branchFk" } } }