2021-02-01 14:14:05 +01:00
|
|
|
<?php
|
|
|
|
|
2023-12-05 09:43:55 +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\ParkingFacility as FrontendParkingFacility;
|
|
|
|
use WerkraumMedia\ThueCat\Domain\Model\Frontend\TouristAttraction as FrontendTouristAttraction;
|
|
|
|
use WerkraumMedia\ThueCat\Domain\Model\Frontend\Town as FrontendTown;
|
2021-08-18 13:54:18 +02:00
|
|
|
|
2021-02-01 14:14:05 +01:00
|
|
|
return [
|
2023-12-05 09:43:55 +01:00
|
|
|
Organisation::class => [
|
2021-02-01 14:14:05 +01:00
|
|
|
'tableName' => 'tx_thuecat_organisation',
|
|
|
|
],
|
2023-12-05 09:43:55 +01:00
|
|
|
Town::class => [
|
2021-02-01 14:14:05 +01:00
|
|
|
'tableName' => 'tx_thuecat_town',
|
|
|
|
],
|
2023-12-05 09:43:55 +01:00
|
|
|
TouristInformation::class => [
|
2021-02-01 14:14:05 +01:00
|
|
|
'tableName' => 'tx_thuecat_tourist_information',
|
|
|
|
],
|
2023-12-05 09:43:55 +01:00
|
|
|
ParkingFacility::class => [
|
2021-08-18 13:54:18 +02:00
|
|
|
'tableName' => 'tx_thuecat_parking_facility',
|
|
|
|
],
|
2023-12-05 09:43:55 +01:00
|
|
|
ImportConfiguration::class => [
|
2021-02-01 14:14:05 +01:00
|
|
|
'tableName' => 'tx_thuecat_import_configuration',
|
|
|
|
],
|
2023-12-05 09:43:55 +01:00
|
|
|
ImportLog::class => [
|
2021-02-01 14:14:05 +01:00
|
|
|
'tableName' => 'tx_thuecat_import_log',
|
|
|
|
],
|
2023-12-05 09:43:55 +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-12-05 09:43:55 +01:00
|
|
|
'savingEntity' => SavingEntity::class,
|
|
|
|
'mappingError' => MappingError::class,
|
2022-12-15 12:41:35 +01:00
|
|
|
],
|
|
|
|
],
|
2023-12-05 09:43:55 +01:00
|
|
|
SavingEntity::class => [
|
2022-12-15 12:41:35 +01:00
|
|
|
'tableName' => 'tx_thuecat_import_log_entry',
|
|
|
|
'recordType' => 'savingEntity',
|
|
|
|
],
|
2023-12-05 09:43:55 +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-12-05 09:43:55 +01:00
|
|
|
|
|
|
|
FrontendTouristAttraction::class => [
|
2021-02-03 17:20:01 +01:00
|
|
|
'tableName' => 'tx_thuecat_tourist_attraction',
|
|
|
|
],
|
2023-12-05 09:43:55 +01:00
|
|
|
FrontendTown::class => [
|
2021-02-03 17:20:01 +01:00
|
|
|
'tableName' => 'tx_thuecat_town',
|
|
|
|
],
|
2023-12-05 09:43:55 +01:00
|
|
|
FrontendParkingFacility::class => [
|
2021-08-18 13:54:18 +02:00
|
|
|
'tableName' => 'tx_thuecat_parking_facility',
|
|
|
|
],
|
2021-02-01 14:14:05 +01:00
|
|
|
];
|