feat: add relation to employee
This commit is contained in:
parent
3d0e6a2069
commit
b9cf8d3af3
1 changed files with 3 additions and 0 deletions
|
|
@ -288,6 +288,9 @@ export class EmployeeController extends Controller {
|
|||
province: true,
|
||||
district: true,
|
||||
subDistrict: true,
|
||||
customerBranch: {
|
||||
include: { customer: true },
|
||||
},
|
||||
createdBy: true,
|
||||
updatedBy: true,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue