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

38 lines
614 B
JSON
Raw Permalink 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": {
2022-05-12 07:47:47 +00:00
"type": "number",
2018-10-16 11:32:58 +00:00
"id": true
},
2018-10-16 09:17:02 +00:00
"yearSale": {
2022-05-12 07:47:47 +00:00
"type": "number"
2018-10-16 09:17:02 +00:00
},
"claimAmount": {
2022-05-12 07:47:47 +00:00
"type": "number"
2018-10-16 09:17:02 +00:00
},
"claimingRate": {
2022-05-12 07:47:47 +00:00
"type": "number"
2018-10-16 09:17:02 +00:00
},
"priceIncreasing": {
2022-05-12 07:47:47 +00:00
"type": "number"
2018-10-16 09:17:02 +00:00
},
"packingRate": {
2022-05-12 07:47:47 +00:00
"type": "number"
2018-10-16 09:17:02 +00:00
}
},
"relations": {
"client": {
"type": "belongsTo",
"model": "Client",
"foreignKey": "clientFk"
}
}
}