EducationalProjectAge.php 543 B

123456789101112131415161718192021222324252627
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Entity\Booking;
  4. // use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
  5. use ApiPlatform\Metadata\ApiResource;
  6. use Doctrine\ORM\Mapping as ORM;
  7. use Symfony\Component\Serializer\Annotation\Groups;
  8. // #[Auditable]
  9. #[ApiResource(operations: [])]
  10. #[ORM\Entity]
  11. class EducationalProjectAge
  12. {
  13. #[ORM\Id]
  14. #[ORM\Column]
  15. #[ORM\GeneratedValue]
  16. #[Groups('access_people_ref')]
  17. private ?int $id = null;
  18. public function getId(): ?int
  19. {
  20. return $this->id;
  21. }
  22. }