2019-09-25 18:06:42 +00:00
|
|
|
{
|
|
|
|
"name": "ZoneWarehouse",
|
2023-12-05 06:48:56 +00:00
|
|
|
"base": "VnModel",
|
|
|
|
"mixins": {
|
|
|
|
"Loggable": true
|
|
|
|
},
|
2019-09-25 18:06:42 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "zoneWarehouse"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"id": true,
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2020-07-29 08:47:48 +00:00
|
|
|
},
|
|
|
|
"warehouseFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2020-07-29 08:47:48 +00:00
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
2023-04-12 10:33:14 +00:00
|
|
|
}
|