src/Entity/MainQuestion.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\MainQuestionRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassMainQuestionRepository::class)]
  6. class MainQuestion
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length500)]
  13.     private ?string $content null;
  14.     #[ORM\Column(length500nullabletrue)]
  15.     private ?string $firstcustomawnser null;
  16.     #[ORM\Column(length500nullabletrue)]
  17.     private ?string $secondcustomawnser null;
  18.     #[ORM\Column(length500nullabletrue)]
  19.     private ?string $thirdcustomawnser null;
  20.     public function getId(): ?int
  21.     {
  22.         return $this->id;
  23.     }
  24.     public function getContent(): ?string
  25.     {
  26.         return $this->content;
  27.     }
  28.     public function setContent(string $content): self
  29.     {
  30.         $this->content $content;
  31.         return $this;
  32.     }
  33.     public function getFirstcustomawnser(): ?string
  34.     {
  35.         return $this->firstcustomawnser;
  36.     }
  37.     public function setFirstcustomawnser(?string $firstcustomawnser): self
  38.     {
  39.         $this->firstcustomawnser $firstcustomawnser;
  40.         return $this;
  41.     }
  42.     public function getSecondcustomawnser(): ?string
  43.     {
  44.         return $this->secondcustomawnser;
  45.     }
  46.     public function setSecondcustomawnser(?string $secondcustomawnser): self
  47.     {
  48.         $this->secondcustomawnser $secondcustomawnser;
  49.         return $this;
  50.     }
  51.     public function getThirdcustomawnser(): ?string
  52.     {
  53.         return $this->thirdcustomawnser;
  54.     }
  55.     public function setThirdcustomawnser(?string $thirdcustomawnser): self
  56.     {
  57.         $this->thirdcustomawnser $thirdcustomawnser;
  58.         return $this;
  59.     }
  60. }