salix/modules/supplier/back/models/supplier-agency-term.json

46 lines
934 B
JSON
Raw Permalink Normal View History

2022-03-09 22:54:23 +00:00
{
"name": "SupplierAgencyTerm",
"base": "VnModel",
"options": {
"mysql": {
"table": "supplierAgencyTerm"
}
},
"properties": {
"agencyFk": {
"type": "number",
"id": true
},
"supplierFk": {
"type": "number"
},
"minimumPackages": {
"type": "number"
},
"kmPrice": {
"type": "number"
},
"packagePrice": {
"type": "number"
},
"routePrice": {
"type": "number"
},
"minimumKm": {
"type": "number"
},
"minimumM3": {
"type": "number"
},
"m3Price": {
"type": "number"
}
},
2022-03-17 13:27:55 +00:00
"relations": {
"agency": {
"type": "belongsTo",
"model": "Agency",
"foreignKey": "agencyFk"
}
2022-03-28 11:35:36 +00:00
}
2022-03-09 22:54:23 +00:00
}