mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-15 12:08:40 +00:00
Automated formatting changes
This commit is contained in:
parent
38ff0c89c3
commit
b0087a40ec
|
|
@ -34,15 +34,15 @@ final class AddressMapper extends DataMapperAbstract
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected static array $columns = [
|
protected static array $columns = [
|
||||||
'address_id' => ['name' => 'address_id', 'type' => 'int', 'internal' => 'id'],
|
'address_id' => ['name' => 'address_id', 'type' => 'int', 'internal' => 'id'],
|
||||||
'address_name' => ['name' => 'address_name', 'type' => 'string', 'internal' => 'name'],
|
'address_name' => ['name' => 'address_name', 'type' => 'string', 'internal' => 'name'],
|
||||||
'address_addition' => ['name' => 'address_addition', 'type' => 'string', 'internal' => 'addition'],
|
'address_addition' => ['name' => 'address_addition', 'type' => 'string', 'internal' => 'addition'],
|
||||||
'address_address' => ['name' => 'address_address', 'type' => 'string', 'internal' => 'address'],
|
'address_address' => ['name' => 'address_address', 'type' => 'string', 'internal' => 'address'],
|
||||||
'address_postal' => ['name' => 'address_postal', 'type' => 'string', 'internal' => 'postal'],
|
'address_postal' => ['name' => 'address_postal', 'type' => 'string', 'internal' => 'postal'],
|
||||||
'address_state' => ['name' => 'address_state', 'type' => 'string', 'internal' => 'state'],
|
'address_state' => ['name' => 'address_state', 'type' => 'string', 'internal' => 'state'],
|
||||||
'address_city' => ['name' => 'address_city', 'type' => 'string', 'internal' => 'city'],
|
'address_city' => ['name' => 'address_city', 'type' => 'string', 'internal' => 'city'],
|
||||||
'address_country' => ['name' => 'address_country', 'type' => 'string', 'internal' => 'country'],
|
'address_country' => ['name' => 'address_country', 'type' => 'string', 'internal' => 'country'],
|
||||||
'address_type' => ['name' => 'address_type', 'type' => 'int', 'internal' => 'type'],
|
'address_type' => ['name' => 'address_type', 'type' => 'int', 'internal' => 'type'],
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -53,8 +53,8 @@ final class AddressMapper extends DataMapperAbstract
|
||||||
*/
|
*/
|
||||||
protected static array $ownsOne = [
|
protected static array $ownsOne = [
|
||||||
'country' => [
|
'country' => [
|
||||||
'mapper' => CountryMapper::class,
|
'mapper' => CountryMapper::class,
|
||||||
'self' => 'address_country',
|
'self' => 'address_country',
|
||||||
'by' => 'code2',
|
'by' => 'code2',
|
||||||
'column' => 'code2',
|
'column' => 'code2',
|
||||||
'conditional' => true,
|
'conditional' => true,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user