feat: add AwardType entity and repository

This commit is contained in:
thibaud-leclere
2026-04-01 14:22:33 +02:00
parent 76013afb1c
commit acc266739d
2 changed files with 93 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
declare(strict_types=1);
namespace App\Repository;
use App\Entity\AwardType;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/** @extends ServiceEntityRepository<AwardType> */
class AwardTypeRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, AwardType::class);
}
/** @return list<AwardType> */
public function findAll(): array
{
return parent::findAll();
}
}