{ "name": "WorkerTeamCollegues", "base": "VnModel", "options": { "mysql": { "table": "workerTeamCollegues" } }, "properties": { "workerFk": { "id": true, "type": "Number" }, "collegueFk": { "id": true, "type": "Number" } }, "relations": { "worker": { "type": "belongsTo", "model": "Worker", "foreignKey": "workerFk" } } }