salix/services/loopback/common/models/claim-ratio.json

39 lines
638 B
JSON
Raw Normal View History

2018-10-16 09:17:02 +00:00
{
"name": "ClaimRatio",
"base": "VnModel",
"options": {
"mysql": {
"table": "claimRatio",
"database": "vn"
}
},
"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"
}
}
}