mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-17 15:58:40 +00:00
This commit is contained in:
parent
fc2de03e19
commit
2ac9c44c92
|
|
@ -51,11 +51,11 @@ final class ProfileMapper extends DataMapperAbstract
|
||||||
protected static array $ownsOne = [
|
protected static array $ownsOne = [
|
||||||
'account' => [
|
'account' => [
|
||||||
'mapper' => AccountMapper::class,
|
'mapper' => AccountMapper::class,
|
||||||
'src' => 'profile_account_account',
|
'self' => 'profile_account_account',
|
||||||
],
|
],
|
||||||
'image' => [
|
'image' => [
|
||||||
'mapper' => MediaMapper::class,
|
'mapper' => MediaMapper::class,
|
||||||
'src' => 'profile_account_image',
|
'self' => 'profile_account_image',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -69,14 +69,14 @@ final class ProfileMapper extends DataMapperAbstract
|
||||||
'location' => [
|
'location' => [
|
||||||
'mapper' => AddressMapper::class,
|
'mapper' => AddressMapper::class,
|
||||||
'table' => 'profile_address',
|
'table' => 'profile_address',
|
||||||
'dst' => 'profile_address_address',
|
'external' => 'profile_address_address',
|
||||||
'src' => 'profile_address_profile',
|
'self' => 'profile_address_profile',
|
||||||
],
|
],
|
||||||
'contactElements' => [
|
'contactElements' => [
|
||||||
'mapper' => ContactElementMapper::class,
|
'mapper' => ContactElementMapper::class,
|
||||||
'table' => 'profile_contactelement',
|
'table' => 'profile_contactelement',
|
||||||
'src' => null,
|
'self' => null,
|
||||||
'dst' => 'profile_contactelement_contact',
|
'external' => 'profile_contactelement_contact',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user