{ "name": "Shelving", "base": "Loggable", "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" } } }