{ "name": "WorkerDepartment", "base": "VnModel", "options": { "mysql": { "table": "personDepartment" } }, "properties": { "workerFk": { "id": true, "type": "Number" }, "department": { "type": "String" } }, "relations": { "worker": { "type": "belongsTo", "model": "Worker", "foreignKey": "workerFk" } } }