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