mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-02-13 19: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 = [
|
protected static array $belongsTo = [
|
||||||
'unit' => [
|
'unit' => [
|
||||||
'mapper' => UnitMapper::class,
|
'mapper' => UnitMapper::class,
|
||||||
'src' => 'hr_staff_history_unit',
|
'self' => 'hr_staff_history_unit',
|
||||||
],
|
],
|
||||||
'department' => [
|
'department' => [
|
||||||
'mapper' => DepartmentMapper::class,
|
'mapper' => DepartmentMapper::class,
|
||||||
'src' => 'hr_staff_history_department',
|
'self' => 'hr_staff_history_department',
|
||||||
],
|
],
|
||||||
'position' => [
|
'position' => [
|
||||||
'mapper' => PositionMapper::class,
|
'mapper' => PositionMapper::class,
|
||||||
'src' => 'hr_staff_history_position',
|
'self' => 'hr_staff_history_position',
|
||||||
],
|
],
|
||||||
'employee' => [
|
'employee' => [
|
||||||
'mapper' => EmployeeMapper::class,
|
'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 = [
|
protected static array $belongsTo = [
|
||||||
'profile' => [
|
'profile' => [
|
||||||
'mapper' => ProfileMapper::class,
|
'mapper' => ProfileMapper::class,
|
||||||
'src' => 'hr_staff_profile',
|
'self' => 'hr_staff_profile',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -65,8 +65,8 @@ final class EmployeeMapper extends DataMapperAbstract
|
||||||
'companyHistory' => [
|
'companyHistory' => [
|
||||||
'mapper' => EmployeeHistoryMapper::class,
|
'mapper' => EmployeeHistoryMapper::class,
|
||||||
'table' => 'hr_staff_history',
|
'table' => 'hr_staff_history',
|
||||||
'dst' => 'hr_staff_history_staff',
|
'external' => 'hr_staff_history_staff',
|
||||||
'src' => null,
|
'self' => null,
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user