2021-02-01 14:14:05 +01:00
|
|
|
<?php
|
|
|
|
|
2023-11-30 13:52:23 +01:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportConfiguration;
|
|
|
|
use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportLog;
|
|
|
|
use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportLogEntry;
|
|
|
|
use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportLogEntry\MappingError;
|
|
|
|
use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportLogEntry\SavingEntity;
|
|
|
|
use WerkraumMedia\ThueCat\Domain\Model\Backend\Organisation;
|
|
|
|
use WerkraumMedia\ThueCat\Domain\Model\Backend\ParkingFacility;
|
|
|
|
use WerkraumMedia\ThueCat\Domain\Model\Backend\TouristInformation;
|
|
|
|
use WerkraumMedia\ThueCat\Domain\Model\Backend\Town;
|
|
|
|
use WerkraumMedia\ThueCat\Domain\Model\Frontend\TouristAttraction;
|
2021-08-18 13:54:18 +02:00
|
|
|
|
2021-02-01 14:14:05 +01:00
|
|
|
return [
|
2023-11-30 13:52:23 +01:00
|
|
|
Organisation::class => [
|
2021-02-01 14:14:05 +01:00
|
|
|
'tableName' => 'tx_thuecat_organisation',
|
|
|
|
],
|
2023-11-30 13:52:23 +01:00
|
|
|
Town::class => [
|
2021-02-01 14:14:05 +01:00
|
|
|
'tableName' => 'tx_thuecat_town',
|
|
|
|
],
|
2023-11-30 13:52:23 +01:00
|
|
|
TouristInformation::class => [
|
2021-02-01 14:14:05 +01:00
|
|
|
'tableName' => 'tx_thuecat_tourist_information',
|
|
|
|
],
|
2023-11-30 13:52:23 +01:00
|
|
|
ParkingFacility::class => [
|
2021-08-18 13:54:18 +02:00
|
|
|
'tableName' => 'tx_thuecat_parking_facility',
|
|
|
|
],
|
2023-11-30 13:52:23 +01:00
|
|
|
ImportConfiguration::class => [
|
2021-02-01 14:14:05 +01:00
|
|
|
'tableName' => 'tx_thuecat_import_configuration',
|
|
|
|
],
|
2023-11-30 13:52:23 +01:00
|
|
|
ImportLog::class => [
|
2021-02-01 14:14:05 +01:00
|
|
|
'tableName' => 'tx_thuecat_import_log',
|
|
|
|
],
|
2023-11-30 13:52:23 +01:00
|
|
|
ImportLogEntry::class => [
|
2021-02-01 14:14:05 +01:00
|
|
|
'tableName' => 'tx_thuecat_import_log_entry',
|
2022-12-15 12:41:35 +01:00
|
|
|
'subclasses' => [
|
2023-11-30 13:52:23 +01:00
|
|
|
'savingEntity' => SavingEntity::class,
|
|
|
|
'mappingError' => MappingError::class,
|
2022-12-15 12:41:35 +01:00
|
|
|
],
|
|
|
|
],
|
2023-11-30 13:52:23 +01:00
|
|
|
SavingEntity::class => [
|
2022-12-15 12:41:35 +01:00
|
|
|
'tableName' => 'tx_thuecat_import_log_entry',
|
|
|
|
'recordType' => 'savingEntity',
|
|
|
|
],
|
2023-11-30 13:52:23 +01:00
|
|
|
MappingError::class => [
|
2022-12-15 12:41:35 +01:00
|
|
|
'tableName' => 'tx_thuecat_import_log_entry',
|
|
|
|
'recordType' => 'mappingError',
|
2021-02-01 14:14:05 +01:00
|
|
|
],
|
2023-11-30 13:52:23 +01:00
|
|
|
TouristAttraction::class => [
|
2021-02-03 17:20:01 +01:00
|
|
|
'tableName' => 'tx_thuecat_tourist_attraction',
|
|
|
|
],
|
|
|
|
\WerkraumMedia\ThueCat\Domain\Model\Frontend\Town::class => [
|
|
|
|
'tableName' => 'tx_thuecat_town',
|
|
|
|
],
|
2021-08-18 13:54:18 +02:00
|
|
|
WerkraumMedia\ThueCat\Domain\Model\Frontend\ParkingFacility::class => [
|
|
|
|
'tableName' => 'tx_thuecat_parking_facility',
|
|
|
|
],
|
2021-02-01 14:14:05 +01:00
|
|
|
];
|