src/Entity/CategorieQuestion.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use App\Repository\CategorieQuestionRepository;
  5. #[ORM\Entity(repositoryClassCategorieQuestionRepository::class)]
  6. class CategorieQuestion
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'string'length255)]
  13.     private $libelle;
  14.     #[ORM\Column(type'boolean'nullabletrue)]
  15.     private $sujetsPreoccupants;
  16.     #[ORM\Column(type'integer'nullabletrue)]
  17.     private $minSujets;
  18.     #[ORM\Column(type'integer'nullabletrue)]
  19.     private $maxSujets;
  20.     #[ORM\Column(nullabletrue)]
  21.     private ?int $ordre null;
  22.     #[ORM\Column(length255nullabletrue)]
  23.     private ?string $classe null;
  24.     public function getId(): ?int
  25.     {
  26.         return $this->id;
  27.     }
  28.     public function getLibelle(): ?string
  29.     {
  30.         return $this->libelle;
  31.     }
  32.     public function setLibelle(string $libelle): self
  33.     {
  34.         $this->libelle $libelle;
  35.         return $this;
  36.     }
  37.     public function getSujetsPreoccupants(): ?bool
  38.     {
  39.         return $this->sujetsPreoccupants;
  40.     }
  41.     public function setSujetsPreoccupants(?bool $sujetsPreoccupants): self
  42.     {
  43.         $this->sujetsPreoccupants $sujetsPreoccupants;
  44.         return $this;
  45.     }
  46.     public function getMinSujets(): ?int
  47.     {
  48.         return $this->minSujets;
  49.     }
  50.     public function setMinSujets(?int $minSujets): self
  51.     {
  52.         $this->minSujets $minSujets;
  53.         return $this;
  54.     }
  55.     public function getMaxSujets(): ?int
  56.     {
  57.         return $this->maxSujets;
  58.     }
  59.     public function setMaxSujets(?int $maxSujets): self
  60.     {
  61.         $this->maxSujets $maxSujets;
  62.         return $this;
  63.     }
  64.     public function getOrdre(): ?int
  65.     {
  66.         return $this->ordre;
  67.     }
  68.     public function setOrdre(?int $ordre): static
  69.     {
  70.         $this->ordre $ordre;
  71.         return $this;
  72.     }
  73.     public function getClasse(): ?string
  74.     {
  75.         return $this->classe;
  76.     }
  77.     public function setClasse(?string $classe): static
  78.     {
  79.         $this->classe $classe;
  80.         return $this;
  81.     }
  82. }