2022-06-25 13:22:47 +00:00
|
|
|
{
|
|
|
|
"name": "ClaimObservation",
|
2022-06-27 16:20:26 +00:00
|
|
|
"base": "Loggable",
|
|
|
|
"log": {
|
|
|
|
"model": "ClaimLog",
|
|
|
|
"relation": "claim"
|
|
|
|
},
|
2022-06-25 13:22:47 +00:00
|
|
|
"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"
|
2022-06-25 13:22:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|