src/Entity/PieceFormateur.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PieceFormateurRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. /**
  8.  * @ORM\Entity(repositoryClass=PieceFormateurRepository::class)
  9.  */
  10. class PieceFormateur
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.     /**
  19.      * @ORM\Column(type="string", length=40)
  20.      */
  21.     private $wording;
  22.     /**
  23.      * @ORM\Column(type="boolean")
  24.      */
  25.     private $state;
  26.     
  27.     public function getId(): ?int
  28.     {
  29.         return $this->id;
  30.     }
  31.     public function getWording(): ?String
  32.     {
  33.         return $this->wording;
  34.     }
  35.     public function setWording(String $wording): self
  36.     {
  37.         $this->wording $wording;
  38.         return $this;
  39.     }
  40.     public function isState(): ?bool
  41.     {
  42.         return $this->state;
  43.     }
  44.     public function setState(bool $state): self
  45.     {
  46.         $this->state $state;
  47.         return $this;
  48.     }
  49. }