{ "name": "Shelving", "base": "VnModel", "mixins": { "Loggable": true }, "options": { "mysql": { "table": "shelving" } }, "properties": { "id": { "type": "number", "description": "Identifier", "id": true }, "code": { "type": "string" }, "parkingFk": { "type": "number" }, "isPrinted": { "type": "boolean" }, "priority": { "type": "number" }, "userFk": { "type": "number" }, "isRecyclable": { "type": "boolean" } }, "relations": { "parking": { "type": "belongsTo", "model": "Parking", "foreignKey": "parkingFk" }, "worker": { "type": "belongsTo", "model": "Worker", "foreignKey": "id" }, "itemShelving": { "type": "hasMany", "model": "ItemShelving", "foreignKey": "shelvingFk" } } }