{ "name": "ZoneWarehouse", "base": "VnModel", "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" } } }