thuecat/Configuration/Extbase/Persistence/Classes.php

54 lines
1.8 KiB
PHP
Raw Normal View History

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