mirror of
https://github.com/werkraum-media/thuecat.git
synced 2024-11-14 17:26:12 +01:00
59 lines
2 KiB
PHP
59 lines
2 KiB
PHP
<?php
|
|
|
|
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;
|
|
|
|
return [
|
|
Organisation::class => [
|
|
'tableName' => 'tx_thuecat_organisation',
|
|
],
|
|
Town::class => [
|
|
'tableName' => 'tx_thuecat_town',
|
|
],
|
|
TouristInformation::class => [
|
|
'tableName' => 'tx_thuecat_tourist_information',
|
|
],
|
|
ParkingFacility::class => [
|
|
'tableName' => 'tx_thuecat_parking_facility',
|
|
],
|
|
ImportConfiguration::class => [
|
|
'tableName' => 'tx_thuecat_import_configuration',
|
|
],
|
|
ImportLog::class => [
|
|
'tableName' => 'tx_thuecat_import_log',
|
|
],
|
|
ImportLogEntry::class => [
|
|
'tableName' => 'tx_thuecat_import_log_entry',
|
|
'subclasses' => [
|
|
'savingEntity' => SavingEntity::class,
|
|
'mappingError' => MappingError::class,
|
|
],
|
|
],
|
|
SavingEntity::class => [
|
|
'tableName' => 'tx_thuecat_import_log_entry',
|
|
'recordType' => 'savingEntity',
|
|
],
|
|
MappingError::class => [
|
|
'tableName' => 'tx_thuecat_import_log_entry',
|
|
'recordType' => 'mappingError',
|
|
],
|
|
TouristAttraction::class => [
|
|
'tableName' => 'tx_thuecat_tourist_attraction',
|
|
],
|
|
\WerkraumMedia\ThueCat\Domain\Model\Frontend\Town::class => [
|
|
'tableName' => 'tx_thuecat_town',
|
|
],
|
|
WerkraumMedia\ThueCat\Domain\Model\Frontend\ParkingFacility::class => [
|
|
'tableName' => 'tx_thuecat_parking_facility',
|
|
],
|
|
];
|