{ "name": "ExpeditionState", "base": "VnModel", "options": { "mysql": { "table": "expeditionState" } }, "properties": { "id": { "id": true, "type": "number", "description": "Identifier" }, "created": { "type": "date" }, "expeditionFk": { "type": "number" }, "typeFk": { "type": "number", "required": true }, "userFk": { "type": "number" }, "isScanned": { "type": "boolean" }, "scanOrder": { "type": "number" } }, "relations": { "expeditionStateType": { "type": "belongsTo", "model": "ExpeditionStateType", "foreignKey": "typeFk" } } }