#7193 Added scope in parking model #3153

Merged
jon merged 2 commits from 7193-ParkingCreateScope into dev 2024-10-28 10:48:11 +00:00
1 changed files with 8 additions and 0 deletions

View File

@ -38,5 +38,13 @@
"model": "Sector", "model": "Sector",
"foreignKey": "sectorFk" "foreignKey": "sectorFk"
} }
},
"scope": {
"include": {
"relation": "sector",
"scope": {
"fields": ["id", "description"]
}
}
} }
} }