salix/modules/zone/back/models/zone-warehouse.json

27 lines
473 B
JSON
Raw Normal View History

2019-09-25 18:06:42 +00:00
{
"name": "ZoneWarehouse",
"base": "VnModel",
"options": {
"mysql": {
"table": "zoneWarehouse"
}
},
"properties": {
"id": {
"id": true,
"type": "Number"
}
},
"relations": {
"zone": {
"type": "belongsTo",
"model": "Zone",
"foreignKey": "zoneFk"
},
"warehouse": {
"type": "belongsTo",
"model": "Warehouse",
"foreignKey": "warehouseFk"
}
}
}