{ "name": "ZoneWarehouse", "base": "Loggable", "options": { "mysql": { "table": "zoneWarehouse" } }, "properties": { "id": { "id": true, "type": "number" }, "warehouseFk": { "type": "number", "required": true } }, "relations": { "zone": { "type": "belongsTo", "model": "Zone", "foreignKey": "zoneFk" }, "warehouse": { "type": "belongsTo", "model": "Warehouse", "foreignKey": "warehouseFk" } } }