src/Entity/ModuleSession.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ModuleSessionRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. /**
  8.  * @ORM\Entity(repositoryClass=ModuleSessionRepository::class)
  9.  */
  10. class ModuleSession
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.      /**
  19.      * @ORM\Column(type="text")
  20.      */
  21.     private $libelle;
  22.     public function getId(): ?int
  23.     {
  24.         return $this->id;
  25.     }
  26.     public function getLibelle(): ?string
  27.     {
  28.         return $this->libelle;
  29.     }
  30.     public function setLibelle(string $libelle): self
  31.     {
  32.         $this->libelle $libelle;
  33.         return $this;
  34.     }
  35. }