src/Entity/FaqRequest.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FaqRequestRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassFaqRequestRepository::class)]
  7. class FaqRequest
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $name null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $email null;
  17.     #[ORM\Column(typeTypes::TEXT)]
  18.     private ?string $question null;
  19.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  20.     private ?\DateTimeInterface $createdAt null;
  21.     #[ORM\Column(length255)]
  22.     private ?string $status null;
  23.     public function getId(): ?int
  24.     {
  25.         return $this->id;
  26.     }
  27.     public function getName(): ?string
  28.     {
  29.         return $this->name;
  30.     }
  31.     public function setName(string $name): static
  32.     {
  33.         $this->name $name;
  34.         return $this;
  35.     }
  36.     public function getEmail(): ?string
  37.     {
  38.         return $this->email;
  39.     }
  40.     public function setEmail(string $email): static
  41.     {
  42.         $this->email $email;
  43.         return $this;
  44.     }
  45.     public function getQuestion(): ?string
  46.     {
  47.         return $this->question;
  48.     }
  49.     public function setQuestion(string $question): static
  50.     {
  51.         $this->question $question;
  52.         return $this;
  53.     }
  54.     public function getCreatedAt(): ?\DateTimeInterface
  55.     {
  56.         return $this->createdAt;
  57.     }
  58.     public function setCreatedAt(\DateTimeInterface $createdAt): static
  59.     {
  60.         $this->createdAt $createdAt;
  61.         return $this;
  62.     }
  63.     public function getStatus(): ?string
  64.     {
  65.         return $this->status;
  66.     }
  67.     public function setStatus(string $status): static
  68.     {
  69.         $this->status $status;
  70.         return $this;
  71.     }
  72. }