55 lines
1.4 KiB
JSON
55 lines
1.4 KiB
JSON
{
|
|
"name": "ClaimDevelopment",
|
|
"base": "VnModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "claimDevelopment",
|
|
"database": "vn"
|
|
}
|
|
},
|
|
"properties": {
|
|
"id": {
|
|
"type": "Number",
|
|
"id": true,
|
|
"description": "Identifier"
|
|
}
|
|
},
|
|
"relations": {
|
|
"claim": {
|
|
"type": "belongsTo",
|
|
"model": "Claim",
|
|
"foreignKey": "claimFk"
|
|
},
|
|
"claimResponsible": {
|
|
"type": "belongsTo",
|
|
"model": "ClaimResponsible",
|
|
"foreignKey": "claimResponsibleFk"
|
|
},
|
|
"worker": {
|
|
"type": "belongsTo",
|
|
"model": "Worker",
|
|
"foreignKey": "workerFk"
|
|
},
|
|
"claimDestination": {
|
|
"type": "belongsTo",
|
|
"model": "ClaimDestination",
|
|
"foreignKey": "claimDestinationFk"
|
|
},
|
|
"claimReason": {
|
|
"type": "belongsTo",
|
|
"model": "ClaimReason",
|
|
"foreignKey": "claimReasonFk"
|
|
},
|
|
"claimResult": {
|
|
"type": "belongsTo",
|
|
"model": "ClaimResult",
|
|
"foreignKey": "claimResultFk"
|
|
},
|
|
"claimRedelivery": {
|
|
"type": "belongsTo",
|
|
"model": "ClaimRedelivery",
|
|
"foreignKey": "claimRedeliveryFk"
|
|
}
|
|
}
|
|
}
|