38 lines
614 B
JSON
38 lines
614 B
JSON
{
|
|
"name": "ClaimRatio",
|
|
"base": "VnModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "claimRatio"
|
|
}
|
|
},
|
|
"validateUpsert": true,
|
|
"properties": {
|
|
"clientFk": {
|
|
"type": "Number",
|
|
"id": true
|
|
},
|
|
"yearSale": {
|
|
"type": "Number"
|
|
},
|
|
"claimAmount": {
|
|
"type": "Number"
|
|
},
|
|
"claimingRate": {
|
|
"type": "Number"
|
|
},
|
|
"priceIncreasing": {
|
|
"type": "Number"
|
|
},
|
|
"packingRate": {
|
|
"type": "Number"
|
|
}
|
|
},
|
|
"relations": {
|
|
"client": {
|
|
"type": "belongsTo",
|
|
"model": "Client",
|
|
"foreignKey": "clientFk"
|
|
}
|
|
}
|
|
} |