salix/modules/claim/back/models/claim-ratio.json

38 lines
614 B
JSON
Raw Normal View History

2018-10-16 09:17:02 +00:00
{
"name": "ClaimRatio",
"base": "VnModel",
"options": {
"mysql": {
2018-12-17 10:28:39 +00:00
"table": "claimRatio"
2018-10-16 09:17:02 +00:00
}
},
"validateUpsert": true,
"properties": {
2018-10-16 11:32:58 +00:00
"clientFk": {
"type": "Number",
"id": true
},
2018-10-16 09:17:02 +00:00
"yearSale": {
"type": "Number"
},
"claimAmount": {
"type": "Number"
},
"claimingRate": {
"type": "Number"
},
"priceIncreasing": {
"type": "Number"
},
"packingRate": {
"type": "Number"
}
},
"relations": {
"client": {
"type": "belongsTo",
"model": "Client",
"foreignKey": "clientFk"
}
}
}