src/Entity/JourSemaine.php line 8

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. /**
  4.  * JourSemaine.
  5.  */
  6. class JourSemaine
  7. {
  8.     /**
  9.      * @var int
  10.      */
  11.     private $id;
  12.     /**
  13.      * @var string
  14.      */
  15.     private $code;
  16.     /**
  17.      * @var string
  18.      */
  19.     private $titre;
  20.     /**
  21.      * @var int
  22.      */
  23.     private $rang;
  24.     /**
  25.      * @var int
  26.      */
  27.     private $idBdOrigine;
  28.     /**
  29.      * @var \Doctrine\Common\Collections\Collection
  30.      */
  31.     private $TempsMeteoJour;
  32.     /**
  33.      * Constructor.
  34.      */
  35.     public function __construct()
  36.     {
  37.         $this->TempsMeteoJour = new \Doctrine\Common\Collections\ArrayCollection();
  38.     }
  39.     /**
  40.      * Get id.
  41.      *
  42.      * @return int
  43.      */
  44.     public function getId()
  45.     {
  46.         return $this->id;
  47.     }
  48.     /**
  49.      * Set code.
  50.      *
  51.      * @param string $code
  52.      *
  53.      * @return JourSemaine
  54.      */
  55.     public function setCode($code)
  56.     {
  57.         $this->code $code;
  58.         return $this;
  59.     }
  60.     /**
  61.      * Get code.
  62.      *
  63.      * @return string
  64.      */
  65.     public function getCode()
  66.     {
  67.         return $this->code;
  68.     }
  69.     /**
  70.      * Set titre.
  71.      *
  72.      * @param string $titre
  73.      *
  74.      * @return JourSemaine
  75.      */
  76.     public function setTitre($titre)
  77.     {
  78.         $this->titre $titre;
  79.         return $this;
  80.     }
  81.     /**
  82.      * Get titre.
  83.      *
  84.      * @return string
  85.      */
  86.     public function getTitre()
  87.     {
  88.         return $this->titre;
  89.     }
  90.     /**
  91.      * Set rang.
  92.      *
  93.      * @param int $rang
  94.      *
  95.      * @return JourSemaine
  96.      */
  97.     public function setRang($rang)
  98.     {
  99.         $this->rang $rang;
  100.         return $this;
  101.     }
  102.     /**
  103.      * Get rang.
  104.      *
  105.      * @return int
  106.      */
  107.     public function getRang()
  108.     {
  109.         return $this->rang;
  110.     }
  111.     /**
  112.      * Set idBdOrigine.
  113.      *
  114.      * @param int $idBdOrigine
  115.      *
  116.      * @return JourSemaine
  117.      */
  118.     public function setIdBdOrigine($idBdOrigine)
  119.     {
  120.         $this->idBdOrigine $idBdOrigine;
  121.         return $this;
  122.     }
  123.     /**
  124.      * Get idBdOrigine.
  125.      *
  126.      * @return int
  127.      */
  128.     public function getIdBdOrigine()
  129.     {
  130.         return $this->idBdOrigine;
  131.     }
  132.     /**
  133.      * Add tempsMeteoJour.
  134.      *
  135.      * @param \App\Entity\TempsMeteoJour $tempsMeteoJour
  136.      *
  137.      * @return JourSemaine
  138.      */
  139.     public function addTempsMeteoJour(TempsMeteoJour $tempsMeteoJour)
  140.     {
  141.         $this->TempsMeteoJour[] = $tempsMeteoJour;
  142.         return $this;
  143.     }
  144.     /**
  145.      * Remove tempsMeteoJour.
  146.      *
  147.      * @param \App\Entity\TempsMeteoJour $tempsMeteoJour
  148.      */
  149.     public function removeTempsMeteoJour(TempsMeteoJour $tempsMeteoJour)
  150.     {
  151.         $this->TempsMeteoJour->removeElement($tempsMeteoJour);
  152.     }
  153.     /**
  154.      * Get tempsMeteoJour.
  155.      *
  156.      * @return \Doctrine\Common\Collections\Collection
  157.      */
  158.     public function getTempsMeteoJour()
  159.     {
  160.         return $this->TempsMeteoJour;
  161.     }
  162. }