7409-workerIncome #2597
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -115,6 +115,11 @@
|
|||
"type": "hasMany",
|
||||
"model": "Locker",
|
||||
"foreignKey": "workerFk"
|
||||
},
|
||||
"incomes": {
|
||||
"type": "hasMany",
|
||||
"model": "WorkerIncome",
|
||||
"foreignKey": "workerFk"
|
||||
}
|
||||
},
|
||||
"acls": [
|
||||
|
|
Loading…
Reference in New Issue