src/Entity/Tache.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\TacheRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. #[ORM\Entity(repositoryClassTacheRepository::class)]
  8. class Tache
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\Column(length255nullabletrue)]
  15.     private ?string $label null;
  16.     #[ORM\Column(nullabletrue)]
  17.     private ?bool $demande null;
  18.     #[ORM\Column(nullabletrue)]
  19.     private ?bool $groupe null;
  20.     public function getId(): ?int
  21.     {
  22.         return $this->id;
  23.     }
  24.     public function getLabel(): ?string
  25.     {
  26.         return $this->label;
  27.     }
  28.     public function setLabel(?string $label): self
  29.     {
  30.         $this->label $label;
  31.         return $this;
  32.     }
  33.     public function __toString()
  34.     {
  35.         return $this->label;
  36.     }
  37.     public function isDemande(): ?bool
  38.     {
  39.         return $this->demande;
  40.     }
  41.     public function setDemande(?bool $demande): self
  42.     {
  43.         $this->demande $demande;
  44.         return $this;
  45.     }
  46.     public function isGroupe(): ?bool
  47.     {
  48.         return $this->groupe;
  49.     }
  50.     public function setGroupe(?bool $groupe): self
  51.     {
  52.         $this->groupe $groupe;
  53.         return $this;
  54.     }
  55. }