2018-07-30 12:10:09 +00:00
|
|
|
{
|
|
|
|
"name": "ClaimEnd",
|
2023-12-05 06:48:56 +00:00
|
|
|
"base": "VnModel",
|
|
|
|
"mixins": {
|
|
|
|
"Loggable": true
|
|
|
|
},
|
2018-07-30 12:10:09 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2018-12-17 10:28:39 +00:00
|
|
|
"table": "claimEnd"
|
2018-07-30 12:10:09 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2018-07-30 12:10:09 +00:00
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"claim": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Claim",
|
|
|
|
"foreignKey": "claimFk"
|
|
|
|
},
|
|
|
|
"sale": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Sale",
|
|
|
|
"foreignKey": "saleFk"
|
|
|
|
},
|
|
|
|
"worker": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Worker",
|
|
|
|
"foreignKey": "workerFk"
|
|
|
|
},
|
|
|
|
"claimDestination": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "ClaimDestination",
|
|
|
|
"foreignKey": "claimDestinationFk"
|
2018-09-05 09:35:34 +00:00
|
|
|
},
|
|
|
|
"claimBeggining": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "ClaimDestination",
|
|
|
|
"foreignKey": "claimDestinationFk"
|
2018-07-30 12:10:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|