{ "name": "StarredModule", "base": "VnModel", "options": { "mysql": { "table": "vn.starredModule" } }, "properties": { "id": { "type": "number", "id": true }, "workerFk": { "type": "number", "required": true }, "moduleFk": { "type": "string", "required": true } }, "relations": { "worker": { "type": "belongsTo", "model": "Worker", "foreignKey": "workerFk" }, "module": { "type": "belongsTo", "model": "Module", "foreignKey": "moduleFk" } } }