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"
|
|
}
|
|
}
|
|
} |