{ "name": "ExpeditionMistake", "base": "VnModel", "options": { "mysql": { "table": "expeditionMistake" } }, "properties": { "created": { "type": "date" } }, "relations": { "expedition": { "type": "belongsTo", "model": "Expedition", "foreignKey": "expeditionFk" }, "worker": { "type": "belongsTo", "model": "Worker", "foreignKey": "workerFk" }, "type": { "type": "belongsTo", "model": "MistakeType", "foreignKey": "typeFk" } } }