mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-02-06 03:28:40 +00:00
Automated formatting changes
This commit is contained in:
parent
4137044b5f
commit
6c1bf00170
|
|
@ -50,11 +50,11 @@ final class DepartmentMapper extends DataMapperAbstract
|
|||
*/
|
||||
protected static array $belongsTo = [
|
||||
'unit' => [
|
||||
'mapper' => UnitMapper::class,
|
||||
'mapper' => UnitMapper::class,
|
||||
'external' => 'organization_department_unit',
|
||||
],
|
||||
'parent' => [
|
||||
'mapper' => self::class,
|
||||
'mapper' => self::class,
|
||||
'external' => 'organization_department_parent',
|
||||
],
|
||||
];
|
||||
|
|
|
|||
|
|
@ -50,11 +50,11 @@ final class PositionMapper extends DataMapperAbstract
|
|||
*/
|
||||
protected static array $belongsTo = [
|
||||
'parent' => [
|
||||
'mapper' => self::class,
|
||||
'mapper' => self::class,
|
||||
'external' => 'organization_position_parent',
|
||||
],
|
||||
'department' => [
|
||||
'mapper' => DepartmentMapper::class,
|
||||
'mapper' => DepartmentMapper::class,
|
||||
'external' => 'organization_position_department',
|
||||
],
|
||||
];
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ final class UnitMapper extends DataMapperAbstract
|
|||
*/
|
||||
protected static array $ownsOne = [
|
||||
'image' => [
|
||||
'mapper' => MediaMapper::class,
|
||||
'mapper' => MediaMapper::class,
|
||||
'external' => 'organization_unit_image',
|
||||
],
|
||||
];
|
||||
|
|
@ -64,7 +64,7 @@ final class UnitMapper extends DataMapperAbstract
|
|||
*/
|
||||
protected static array $belongsTo = [
|
||||
'parent' => [
|
||||
'mapper' => self::class,
|
||||
'mapper' => self::class,
|
||||
'external' => 'organization_unit_parent',
|
||||
],
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user