26 lines
518 B
JSON
26 lines
518 B
JSON
|
{
|
||
|
"name": "ItemPlacement",
|
||
|
"base": "VnModel",
|
||
|
"options": {
|
||
|
"mysql": {
|
||
|
"table": "itemPlacement"
|
||
|
}
|
||
|
},
|
||
|
"properties": {
|
||
|
"code": {
|
||
|
"type": "String"
|
||
|
}
|
||
|
},
|
||
|
"relations": {
|
||
|
"item": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "Item",
|
||
|
"foreignKey": "itemFk"
|
||
|
},
|
||
|
"warehouse": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "Warehouse",
|
||
|
"foreignKey": "warehouseFk"
|
||
|
}
|
||
|
}
|
||
|
}
|