salix/modules/item/back/models/item-placement.json

36 lines
723 B
JSON
Raw Normal View History

{
"name": "ItemPlacement",
"base": "VnModel",
"options": {
"mysql": {
"table": "itemPlacement"
}
},
"properties": {
2020-11-09 13:53:26 +00:00
"id": {
"type": "Number",
"id": true
},
"code": {
"type": "String"
2020-11-09 13:53:26 +00:00
},
"itemFk": {
"type": "Number"
},
"warehouseFk": {
"type": "Number"
}
},
"relations": {
"item": {
"type": "belongsTo",
"model": "Item",
"foreignKey": "itemFk"
},
"warehouse": {
"type": "belongsTo",
"model": "Warehouse",
"foreignKey": "warehouseFk"
}
}
}