salix/modules/entry/back/models/entry-observation.json

34 lines
737 B
JSON
Raw Normal View History

{
"name": "EntryObservation",
"base": "Loggable",
"options": {
"mysql": {
"table": "entryObservation"
}
},
"properties": {
"id": {
"id": true,
2022-05-12 07:47:47 +00:00
"type": "number",
"description": "Identifier"
},
"description": {
2022-05-12 07:47:47 +00:00
"type": "string",
"required": true
}
},
"relations": {
"entry": {
"type": "belongsTo",
"model": "Entry",
"foreignKey": "entryFk"
},
"observationType": {
"type": "belongsTo",
"model": "ObservationType",
"foreignKey": "observationTypeFk",
"required": true
}
}
}