mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-01-11 12:28:41 +00:00
Automated formatting changes
This commit is contained in:
parent
5a6bbcdd62
commit
2f77934c25
|
|
@ -53,11 +53,11 @@ final class ReportMapper extends DataMapperAbstract
|
|||
*/
|
||||
protected static array $ownsOne = [
|
||||
'source' => [
|
||||
'mapper' => \Modules\Media\Models\CollectionMapper::class,
|
||||
'mapper' => \Modules\Media\Models\CollectionMapper::class,
|
||||
'external' => 'helper_report_media',
|
||||
],
|
||||
'template' => [
|
||||
'mapper' => TemplateMapper::class,
|
||||
'mapper' => TemplateMapper::class,
|
||||
'external' => 'helper_report_template',
|
||||
],
|
||||
];
|
||||
|
|
@ -70,7 +70,7 @@ final class ReportMapper extends DataMapperAbstract
|
|||
*/
|
||||
protected static array $belongsTo = [
|
||||
'createdBy' => [
|
||||
'mapper' => AccountMapper::class,
|
||||
'mapper' => AccountMapper::class,
|
||||
'external' => 'helper_report_creator',
|
||||
],
|
||||
];
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ final class TemplateMapper extends DataMapperAbstract
|
|||
*/
|
||||
protected static array $ownsOne = [
|
||||
'source' => [
|
||||
'mapper' => CollectionMapper::class,
|
||||
'mapper' => CollectionMapper::class,
|
||||
'external' => 'helper_template_media',
|
||||
],
|
||||
];
|
||||
|
|
@ -72,11 +72,11 @@ final class TemplateMapper extends DataMapperAbstract
|
|||
*/
|
||||
protected static array $belongsTo = [
|
||||
'createdBy' => [
|
||||
'mapper' => AccountMapper::class,
|
||||
'mapper' => AccountMapper::class,
|
||||
'external' => 'helper_template_creator',
|
||||
],
|
||||
'unit' => [
|
||||
'mapper' => UnitMapper::class,
|
||||
'mapper' => UnitMapper::class,
|
||||
'external' => 'helper_template_unit',
|
||||
],
|
||||
];
|
||||
|
|
@ -89,9 +89,9 @@ final class TemplateMapper extends DataMapperAbstract
|
|||
*/
|
||||
protected static array $hasMany = [
|
||||
'reports' => [
|
||||
'mapper' => ReportMapper::class,
|
||||
'table' => 'helper_report',
|
||||
'self' => 'helper_report_template',
|
||||
'mapper' => ReportMapper::class,
|
||||
'table' => 'helper_report',
|
||||
'self' => 'helper_report_template',
|
||||
'external' => null,
|
||||
],
|
||||
'tags' => [
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user