mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-02-09 18:08:40 +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 = [
|
protected static array $ownsOne = [
|
||||||
'source' => [
|
'source' => [
|
||||||
'mapper' => \Modules\Media\Models\CollectionMapper::class,
|
'mapper' => \Modules\Media\Models\CollectionMapper::class,
|
||||||
'external' => 'helper_report_media',
|
'external' => 'helper_report_media',
|
||||||
],
|
],
|
||||||
'template' => [
|
'template' => [
|
||||||
'mapper' => TemplateMapper::class,
|
'mapper' => TemplateMapper::class,
|
||||||
'external' => 'helper_report_template',
|
'external' => 'helper_report_template',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
@ -70,7 +70,7 @@ final class ReportMapper extends DataMapperAbstract
|
||||||
*/
|
*/
|
||||||
protected static array $belongsTo = [
|
protected static array $belongsTo = [
|
||||||
'createdBy' => [
|
'createdBy' => [
|
||||||
'mapper' => AccountMapper::class,
|
'mapper' => AccountMapper::class,
|
||||||
'external' => 'helper_report_creator',
|
'external' => 'helper_report_creator',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ final class TemplateMapper extends DataMapperAbstract
|
||||||
*/
|
*/
|
||||||
protected static array $ownsOne = [
|
protected static array $ownsOne = [
|
||||||
'source' => [
|
'source' => [
|
||||||
'mapper' => CollectionMapper::class,
|
'mapper' => CollectionMapper::class,
|
||||||
'external' => 'helper_template_media',
|
'external' => 'helper_template_media',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
@ -72,11 +72,11 @@ final class TemplateMapper extends DataMapperAbstract
|
||||||
*/
|
*/
|
||||||
protected static array $belongsTo = [
|
protected static array $belongsTo = [
|
||||||
'createdBy' => [
|
'createdBy' => [
|
||||||
'mapper' => AccountMapper::class,
|
'mapper' => AccountMapper::class,
|
||||||
'external' => 'helper_template_creator',
|
'external' => 'helper_template_creator',
|
||||||
],
|
],
|
||||||
'unit' => [
|
'unit' => [
|
||||||
'mapper' => UnitMapper::class,
|
'mapper' => UnitMapper::class,
|
||||||
'external' => 'helper_template_unit',
|
'external' => 'helper_template_unit',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
@ -89,9 +89,9 @@ final class TemplateMapper extends DataMapperAbstract
|
||||||
*/
|
*/
|
||||||
protected static array $hasMany = [
|
protected static array $hasMany = [
|
||||||
'reports' => [
|
'reports' => [
|
||||||
'mapper' => ReportMapper::class,
|
'mapper' => ReportMapper::class,
|
||||||
'table' => 'helper_report',
|
'table' => 'helper_report',
|
||||||
'self' => 'helper_report_template',
|
'self' => 'helper_report_template',
|
||||||
'external' => null,
|
'external' => null,
|
||||||
],
|
],
|
||||||
'tags' => [
|
'tags' => [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user