2018-07-30 12:10:09 +00:00
|
|
|
{
|
|
|
|
"name": "ClaimEnd",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2018-12-17 10:28:39 +00:00
|
|
|
"table": "claimEnd"
|
2018-07-30 12:10:09 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "Number",
|
|
|
|
"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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|