thuecat/Configuration/Extbase/Persistence/Classes.php
Daniel Siepmann d39053b498
Support TYPO3 v12 and PHP 8.3
Use rector, PHPUnit, Codeception and PHPStan to find and fix issues.
2023-12-04 12:18:51 +01:00

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',
],
];