src/Entity/ReviewTec.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ReviewTecRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClass: ReviewTecRepository::class)]
  6. #[ORM\Table(name: "ReviewTec")]
  7. class ReviewTec
  8. {
  9. #[ORM\Id]
  10. #[ORM\GeneratedValue]
  11. #[ORM\Column(type: 'integer')]
  12. private ?int $id = null;
  13. #[ORM\Column(type: 'string', length: 255)]
  14. private ?string $nomPrenom = null;
  15. #[ORM\Column(type: 'string', length: 255)]
  16. private ?string $email = null;
  17. public function getId(): ?int
  18. {
  19. return $this->id;
  20. }
  21. public function getNomPrenom(): ?string
  22. {
  23. return $this->nomPrenom;
  24. }
  25. public function setNomPrenom(string $nomPrenom): self
  26. {
  27. $this->nomPrenom = $nomPrenom;
  28. return $this;
  29. }
  30. public function getEmail(): ?string
  31. {
  32. return $this->email;
  33. }
  34. public function setEmail(string $email): self
  35. {
  36. $this->email = $email;
  37. return $this;
  38. }
  39. }