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

40 lines
823 B
JSON
Raw Permalink Normal View History

{
"name": "ClaimObservation",
2022-06-27 16:20:26 +00:00
"base": "Loggable",
"options": {
"mysql": {
"table": "claimObservation"
}
},
"properties": {
"id": {
"type": "number",
"id": true,
"description": "Identifier"
},
"claimFk": {
"type": "number",
"required": true
},
"text": {
"type": "string",
"required": true
},
"created": {
"type": "date"
}
},
"relations": {
"worker": {
"type": "belongsTo",
"model": "Worker",
"foreignKey": "workerFk"
2022-06-27 16:20:26 +00:00
},
"claim": {
"type": "belongsTo",
"model": "Claim",
"foreignKey": "claimFk"
}
}
}