2018-07-30 12:10:09 +00:00
|
|
|
{
|
|
|
|
"name": "ClaimDevelopment",
|
2022-03-01 14:15:58 +00:00
|
|
|
"base": "Loggable",
|
|
|
|
"log": {
|
|
|
|
"model": "ClaimLog",
|
|
|
|
"relation": "claim"
|
|
|
|
},
|
2018-07-30 12:10:09 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2018-12-17 10:28:39 +00:00
|
|
|
"table": "claimDevelopment"
|
2018-07-30 12:10:09 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "Number",
|
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
2019-11-28 11:54:34 +00:00
|
|
|
},
|
|
|
|
"claimFk": {
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"claimResponsibleFk": {
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"claimReasonFk": {
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"claimResultFk": {
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"claimRedeliveryFk": {
|
|
|
|
"required": true
|
2018-07-30 12:10:09 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"claim": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Claim",
|
|
|
|
"foreignKey": "claimFk"
|
|
|
|
},
|
|
|
|
"claimResponsible": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "ClaimResponsible",
|
|
|
|
"foreignKey": "claimResponsibleFk"
|
|
|
|
},
|
|
|
|
"worker": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Worker",
|
|
|
|
"foreignKey": "workerFk"
|
|
|
|
},
|
|
|
|
"claimReason": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "ClaimReason",
|
|
|
|
"foreignKey": "claimReasonFk"
|
|
|
|
},
|
|
|
|
"claimResult": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "ClaimResult",
|
|
|
|
"foreignKey": "claimResultFk"
|
|
|
|
},
|
|
|
|
"claimRedelivery": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "ClaimRedelivery",
|
|
|
|
"foreignKey": "claimRedeliveryFk"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|