{ "name": "ItemShelvingSale", "base": "VnModel", "options": { "mysql": { "table": "itemShelvingSale" } }, "properties": { "id": { "type": "number", "id": true, "description": "Identifier" }, "quantity": { "type": "number" }, "created": { "type": "date" } }, "relations": { "sale": { "type": "belongsTo", "model": "Sale", "foreignKey": "saleFk" }, "itemShelving": { "type": "belongsTo", "model": "ItemShelving", "foreignKey": "itemShelvingFk" }, "user": { "type": "belongsTo", "model": "Account", "foreignKey": "userFk" } } }