{ "name": "ItemPlacement", "base": "VnModel", "options": { "mysql": { "table": "itemPlacement" } }, "properties": { "id": { "type": "number", "id": true }, "code": { "type": "string" }, "itemFk": { "type": "number" }, "warehouseFk": { "type": "number" } }, "relations": { "item": { "type": "belongsTo", "model": "Item", "foreignKey": "itemFk" }, "warehouse": { "type": "belongsTo", "model": "Warehouse", "foreignKey": "warehouseFk" } } }