This commit is contained in:
Dennis Eichhorn 2020-02-07 21:41:13 +01:00
parent 3596baeed2
commit 24115e7d23

View File

@ -79,7 +79,7 @@ final class ClientMapper extends DataMapperAbstract
protected static array $ownsOne = [ protected static array $ownsOne = [
'profile' => [ 'profile' => [
'mapper' => ProfileMapper::class, 'mapper' => ProfileMapper::class,
'src' => 'clientmgmt_client_account', 'self' => 'clientmgmt_client_account',
], ],
]; ];
@ -93,14 +93,14 @@ final class ClientMapper extends DataMapperAbstract
'files' => [ 'files' => [
'mapper' => MediaMapper::class, /* mapper of the related object */ 'mapper' => MediaMapper::class, /* mapper of the related object */
'table' => 'clientmgmt_client_media', /* table of the related object, null if no relation table is used (many->1) */ 'table' => 'clientmgmt_client_media', /* table of the related object, null if no relation table is used (many->1) */
'dst' => 'clientmgmt_client_media_dst', 'external' => 'clientmgmt_client_media_dst',
'src' => 'clientmgmt_client_media_src', 'self' => 'clientmgmt_client_media_src',
], ],
'contactElements' => [ 'contactElements' => [
'mapper' => ContactElementMapper::class, 'mapper' => ContactElementMapper::class,
'table' => 'clientmgmt_client_contactelement', 'table' => 'clientmgmt_client_contactelement',
'dst' => 'clientmgmt_client_contactelement_dst', 'external' => 'clientmgmt_client_contactelement_dst',
'src' => 'clientmgmt_client_contactelement_src', 'self' => 'clientmgmt_client_contactelement_src',
], ],
]; ];
} }