#7193 Added scope in parking model #3153
|
@ -38,5 +38,13 @@
|
|||
"model": "Sector",
|
||||
"foreignKey": "sectorFk"
|
||||
}
|
||||
},
|
||||
"scope": {
|
||||
"include": {
|
||||
"relation": "sector",
|
||||
"scope": {
|
||||
"fields": ["id", "description"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue