mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-01-25 02:38:40 +00:00
This commit is contained in:
parent
e79e0bc9cb
commit
668f1b51ee
|
|
@ -54,11 +54,11 @@ final class ReportMapper extends DataMapperAbstract
|
|||
protected static array $ownsOne = [
|
||||
'source' => [
|
||||
'mapper' => \Modules\Media\Models\CollectionMapper::class,
|
||||
'src' => 'helper_report_media',
|
||||
'self' => 'helper_report_media',
|
||||
],
|
||||
'template' => [
|
||||
'mapper' => \Modules\Helper\Models\TemplateMapper::class,
|
||||
'src' => 'helper_report_template',
|
||||
'self' => 'helper_report_template',
|
||||
],
|
||||
];
|
||||
|
||||
|
|
@ -71,7 +71,7 @@ final class ReportMapper extends DataMapperAbstract
|
|||
protected static array $belongsTo = [
|
||||
'createdBy' => [
|
||||
'mapper' => AccountMapper::class,
|
||||
'src' => 'helper_report_creator',
|
||||
'self' => 'helper_report_creator',
|
||||
],
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ final class TemplateMapper extends DataMapperAbstract
|
|||
protected static array $ownsOne = [
|
||||
'source' => [
|
||||
'mapper' => CollectionMapper::class,
|
||||
'src' => 'helper_template_media',
|
||||
'self' => 'helper_template_media',
|
||||
],
|
||||
];
|
||||
|
||||
|
|
@ -70,7 +70,7 @@ final class TemplateMapper extends DataMapperAbstract
|
|||
protected static array $belongsTo = [
|
||||
'createdBy' => [
|
||||
'mapper' => AccountMapper::class,
|
||||
'src' => 'helper_template_creator',
|
||||
'self' => 'helper_template_creator',
|
||||
],
|
||||
];
|
||||
|
||||
|
|
@ -84,8 +84,8 @@ final class TemplateMapper extends DataMapperAbstract
|
|||
'reports' => [
|
||||
'mapper' => ReportMapper::class,
|
||||
'table' => 'helper_report',
|
||||
'dst' => 'helper_report_template',
|
||||
'src' => null,
|
||||
'external' => 'helper_report_template',
|
||||
'self' => null,
|
||||
],
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user