thuecat/Configuration/Extbase/Persistence/Classes.php
Daniel Siepmann 54d244b804
TYPO3 V12 Update (#116)
* Support TYPO3 v12 and PHP 8.3
2023-12-05 09:43:55 +01:00

62 lines
2.1 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\ParkingFacility as FrontendParkingFacility;
use WerkraumMedia\ThueCat\Domain\Model\Frontend\TouristAttraction as FrontendTouristAttraction;
use WerkraumMedia\ThueCat\Domain\Model\Frontend\Town as FrontendTown;
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',
],
FrontendTouristAttraction::class => [
'tableName' => 'tx_thuecat_tourist_attraction',
],
FrontendTown::class => [
'tableName' => 'tx_thuecat_town',
],
FrontendParkingFacility::class => [
'tableName' => 'tx_thuecat_parking_facility',
],
];