Skip to content

Commit

Permalink
[TASK] Add domain model and repository for locations
Browse files Browse the repository at this point in the history
  • Loading branch information
codemonkey1988 committed Nov 6, 2023
1 parent 9e215ea commit dd94fb8
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Classes/Domain/Model/Location.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

declare(strict_types=1);

/*
* This file is part of the "academic_persons_edit" Extension for TYPO3 CMS.
*
* For the full copyright and license information, please read the
* LICENSE file that was distributed with this source code.
*/

namespace Fgtclb\AcademicPersonsEdit\Domain\Model;

class Location extends \Fgtclb\AcademicPersons\Domain\Model\Location
{
}
22 changes: 22 additions & 0 deletions Classes/Domain/Repository/LocationRepository.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

declare(strict_types=1);

/*
* This file is part of the "academic_persons_edit" Extension for TYPO3 CMS.
*
* For the full copyright and license information, please read the
* LICENSE file that was distributed with this source code.
*/

namespace Fgtclb\AcademicPersonsEdit\Domain\Repository;

use Fgtclb\AcademicPersonsEdit\Domain\Model\Location;
use TYPO3\CMS\Extbase\Persistence\Repository;

/**
* @extends Repository<Location>
*/
class LocationRepository extends Repository
{
}
3 changes: 3 additions & 0 deletions Configuration/Extbase/Persistence/Classes.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@
\Fgtclb\AcademicPersonsEdit\Domain\Model\FrontendUser::class => [
'tableName' => 'fe_users',
],
\Fgtclb\AcademicPersonsEdit\Domain\Model\Location::class => [
'tableName' => 'tx_academicpersons_domain_model_location',
],
];

0 comments on commit dd94fb8

Please sign in to comment.