mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-02-16 08:18: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 = [
|
protected static array $belongsTo = [
|
||||||
'unit' => [
|
'unit' => [
|
||||||
'mapper' => UnitMapper::class,
|
'mapper' => UnitMapper::class,
|
||||||
'external' => 'organization_department_unit',
|
'external' => 'organization_department_unit',
|
||||||
],
|
],
|
||||||
'parent' => [
|
'parent' => [
|
||||||
'mapper' => self::class,
|
'mapper' => self::class,
|
||||||
'external' => 'organization_department_parent',
|
'external' => 'organization_department_parent',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -50,11 +50,11 @@ final class PositionMapper extends DataMapperAbstract
|
||||||
*/
|
*/
|
||||||
protected static array $belongsTo = [
|
protected static array $belongsTo = [
|
||||||
'parent' => [
|
'parent' => [
|
||||||
'mapper' => self::class,
|
'mapper' => self::class,
|
||||||
'external' => 'organization_position_parent',
|
'external' => 'organization_position_parent',
|
||||||
],
|
],
|
||||||
'department' => [
|
'department' => [
|
||||||
'mapper' => DepartmentMapper::class,
|
'mapper' => DepartmentMapper::class,
|
||||||
'external' => 'organization_position_department',
|
'external' => 'organization_position_department',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ final class UnitMapper extends DataMapperAbstract
|
||||||
*/
|
*/
|
||||||
protected static array $ownsOne = [
|
protected static array $ownsOne = [
|
||||||
'image' => [
|
'image' => [
|
||||||
'mapper' => MediaMapper::class,
|
'mapper' => MediaMapper::class,
|
||||||
'external' => 'organization_unit_image',
|
'external' => 'organization_unit_image',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
@ -64,7 +64,7 @@ final class UnitMapper extends DataMapperAbstract
|
||||||
*/
|
*/
|
||||||
protected static array $belongsTo = [
|
protected static array $belongsTo = [
|
||||||
'parent' => [
|
'parent' => [
|
||||||
'mapper' => self::class,
|
'mapper' => self::class,
|
||||||
'external' => 'organization_unit_parent',
|
'external' => 'organization_unit_parent',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user