{ "name": "ItemShelving", "base": "VnModel", "options": { "mysql": { "table": "itemShelving" } }, "properties": { "id": { "type": "Number", "id": true, "description": "Identifier" }, "shelve": { "type": "String" }, "shelvingFk": { "type": "String" }, "itemFk": { "type": "Number" }, "deep": { "type": "Number" }, "quantity": { "type": "Number" }, "created": { "type": "Date" } }, "relations": { "item": { "type": "belongsTo", "model": "Item", "foreignKey": "itemFk" }, "user": { "type": "belongsTo", "model": "Account", "foreignKey": "userFk" } } }