{ "name": "WorkerMana", "base": "VnModel", "options": { "mysql": { "table": "bs.workerMana" } }, "properties": { "amount": { "type": "Number" }, "workerFk": { "id": true, "type": "Number" } }, "relations": { "worker": { "type": "belongsTo", "model": "Worker", "foreignKey": "workerFk" } } }