{ "name": "EntryObservation", "base": "VnModel", "mixins": { "Loggable": true }, "options": { "mysql": { "table": "entryObservation" } }, "properties": { "id": { "id": true, "type": "number", "description": "Identifier" }, "description": { "type": "string", "required": true } }, "relations": { "entry": { "type": "belongsTo", "model": "Entry", "foreignKey": "entryFk" }, "observationType": { "type": "belongsTo", "model": "ObservationType", "foreignKey": "observationTypeFk", "required": true } } }