mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-01-26 02:38:40 +00:00
This commit is contained in:
parent
09608b59d3
commit
5387cf3537
|
|
@ -54,19 +54,19 @@ final class EmployeeHistoryMapper extends DataMapperAbstract
|
|||
protected static array $belongsTo = [
|
||||
'unit' => [
|
||||
'mapper' => UnitMapper::class,
|
||||
'src' => 'hr_staff_history_unit',
|
||||
'self' => 'hr_staff_history_unit',
|
||||
],
|
||||
'department' => [
|
||||
'mapper' => DepartmentMapper::class,
|
||||
'src' => 'hr_staff_history_department',
|
||||
'self' => 'hr_staff_history_department',
|
||||
],
|
||||
'position' => [
|
||||
'mapper' => PositionMapper::class,
|
||||
'src' => 'hr_staff_history_position',
|
||||
'self' => 'hr_staff_history_position',
|
||||
],
|
||||
'employee' => [
|
||||
'mapper' => EmployeeMapper::class,
|
||||
'src' => 'hr_staff_history_staff',
|
||||
'self' => 'hr_staff_history_staff',
|
||||
],
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ final class EmployeeMapper extends DataMapperAbstract
|
|||
protected static array $belongsTo = [
|
||||
'profile' => [
|
||||
'mapper' => ProfileMapper::class,
|
||||
'src' => 'hr_staff_profile',
|
||||
'self' => 'hr_staff_profile',
|
||||
],
|
||||
];
|
||||
|
||||
|
|
@ -65,8 +65,8 @@ final class EmployeeMapper extends DataMapperAbstract
|
|||
'companyHistory' => [
|
||||
'mapper' => EmployeeHistoryMapper::class,
|
||||
'table' => 'hr_staff_history',
|
||||
'dst' => 'hr_staff_history_staff',
|
||||
'src' => null,
|
||||
'external' => 'hr_staff_history_staff',
|
||||
'self' => null,
|
||||
],
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user