fix: refs #6553 fix model
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Carlos Satorres 2025-01-07 10:33:30 +01:00
parent ddecfee24b
commit a139c9849c
1 changed files with 25 additions and 1 deletions

View File

@ -264,12 +264,36 @@
"relation": "department", "relation": "department",
"scope": { "scope": {
"fields": [ "fields": [
"name" "id"
] ]
} }
} }
} }
}, },
{
"relation": "business",
"scope": {
"fields": [
"id",
"started",
"ended",
"reasonEndFk",
"departmentFk",
"workerBusinessProfessionalCategoryFk"
],
"include": [
{
"relation": "reasonEnd",
"scope": {
"fields": [
"id",
"reason"
]
}
}
]
}
},
{ {
"relation": "boss", "relation": "boss",
"scope": { "scope": {