src/Entity/Vetoadom/Fonctionnement.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Vetoadom;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Fonctionnement
  6.  *
  7.  * @ORM\Table(name="fonctionnement")
  8.  * @ORM\Entity(repositoryClass="App\Repository\Vetoadom\FonctionnementRepository")
  9.  */
  10. class Fonctionnement
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var string
  22.      *
  23.      * @ORM\Column(name="nom", type="string", length=20, nullable=false)
  24.      */
  25.     private $nom;
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="code", type="string", length=20, nullable=false)
  30.      */
  31.     private $code;
  32.     /**
  33.      * @var int
  34.      *
  35.      * @ORM\Column(name="planning_type_id", type="integer", nullable=false)
  36.      */
  37.     private $planningTypeId;
  38.     public function getId(): ?int
  39.     {
  40.         return $this->id;
  41.     }
  42.     public function getNom(): ?string
  43.     {
  44.         return $this->nom;
  45.     }
  46.     public function setNom(string $nom): self
  47.     {
  48.         $this->nom $nom;
  49.         return $this;
  50.     }
  51.     public function getCode(): ?string
  52.     {
  53.         return $this->code;
  54.     }
  55.     public function setCode(string $code): self
  56.     {
  57.         $this->code $code;
  58.         return $this;
  59.     }
  60.     public function getPlanningTypeId(): ?int
  61.     {
  62.         return $this->planningTypeId;
  63.     }
  64.     public function setPlanningTypeId(int $planningTypeId): self
  65.     {
  66.         $this->planningTypeId $planningTypeId;
  67.         return $this;
  68.     }
  69. }