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

31 lines
544 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"
2020-07-29 08:47:48 +00:00
},
"warehouseFk": {
"type": "Number",
"required": true
2019-09-25 18:06:42 +00:00
}
},
"relations": {
"zone": {
"type": "belongsTo",
"model": "Zone",
"foreignKey": "zoneFk"
},
"warehouse": {
"type": "belongsTo",
"model": "Warehouse",
"foreignKey": "warehouseFk"
}
}
}