<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use App\Repository\CategorieQuestionRepository;
#[ORM\Entity(repositoryClass: CategorieQuestionRepository::class)]
class CategorieQuestion
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'string', length: 255)]
private $libelle;
#[ORM\Column(type: 'boolean', nullable: true)]
private $sujetsPreoccupants;
#[ORM\Column(type: 'integer', nullable: true)]
private $minSujets;
#[ORM\Column(type: 'integer', nullable: true)]
private $maxSujets;
#[ORM\Column(nullable: true)]
private ?int $ordre = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $classe = null;
public function getId(): ?int
{
return $this->id;
}
public function getLibelle(): ?string
{
return $this->libelle;
}
public function setLibelle(string $libelle): self
{
$this->libelle = $libelle;
return $this;
}
public function getSujetsPreoccupants(): ?bool
{
return $this->sujetsPreoccupants;
}
public function setSujetsPreoccupants(?bool $sujetsPreoccupants): self
{
$this->sujetsPreoccupants = $sujetsPreoccupants;
return $this;
}
public function getMinSujets(): ?int
{
return $this->minSujets;
}
public function setMinSujets(?int $minSujets): self
{
$this->minSujets = $minSujets;
return $this;
}
public function getMaxSujets(): ?int
{
return $this->maxSujets;
}
public function setMaxSujets(?int $maxSujets): self
{
$this->maxSujets = $maxSujets;
return $this;
}
public function getOrdre(): ?int
{
return $this->ordre;
}
public function setOrdre(?int $ordre): static
{
$this->ordre = $ordre;
return $this;
}
public function getClasse(): ?string
{
return $this->classe;
}
public function setClasse(?string $classe): static
{
$this->classe = $classe;
return $this;
}
}