refs #6553 changes models #2522

Open
carlossa wants to merge 38 commits from 6553-workerBusiness into dev
1 changed files with 25 additions and 1 deletions
Showing only changes of commit a139c9849c - Show all commits

View File

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