7409-workerIncome #2597

Merged
carlossa merged 14 commits from 7409-workerIncome into dev 2024-06-26 09:38:02 +00:00
2 changed files with 11 additions and 6 deletions
Showing only changes of commit e8c7b55329 - Show all commits

View File

@ -33,13 +33,13 @@
"relations": {
"payrollComponent": {
"type": "belongsTo",
"model": "payrollComponent",
"model": "PayrollComponent",
"foreignKey": "id"
},
"worker": {
"type": "hasMany",
"worker": {
"type": "belongsTo",
"model": "Worker",
"foreignKey": "id"
}
"foreignKey": "workerFk"
}
}
}

View File

@ -115,6 +115,11 @@
"type": "hasMany",
"model": "Locker",
"foreignKey": "workerFk"
},
"incomes": {
"type": "hasMany",
"model": "WorkerIncome",
"foreignKey": "workerFk"
}
},
"acls": [