refs #6553 changes models #2522

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

View File

@ -355,6 +355,48 @@
"phone"
]
}
},
{
"relation": "business",
"scope": {
"fields": [
"id",
"started",
"ended",
"reasonEndFk",
"departmentFk",
"workerBusinessProfessionalCategoryFk"
],
"include": [
{
"relation": "reasonEnd",
"scope": {
"fields": [
"id",
"reason"
]
}
},
{
"relation": "department",
"scope": {
"fields": [
"id",
"name"
]
}
},
{
"relation": "workerBusinessProfessionalCategory",
"scope": {
"fields": [
"id",
"description"
]
}
}
]
}
}
]
}