This commit is contained in:
parent
fa8c1b3879
commit
e8c7b55329
|
@ -33,13 +33,13 @@
|
|||
"relations": {
|
||||
"payrollComponent": {
|
||||
"type": "belongsTo",
|
||||
"model": "payrollComponent",
|
||||
"model": "PayrollComponent",
|
||||
"foreignKey": "id"
|
||||
},
|
||||
"worker": {
|
||||
"type": "hasMany",
|
||||
"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