src/Entity/FrequenceOuvertureFenetre.php line 8

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. /**
  4.  * FrequenceOuvertureFenetre.
  5.  */
  6. class FrequenceOuvertureFenetre
  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 string
  22.      */
  23.     private $description;
  24.     /**
  25.      * @var int
  26.      */
  27.     private $rang;
  28.     /**
  29.      * @var int
  30.      */
  31.     private $idBdOrigine;
  32.     /**
  33.      * @var string
  34.      */
  35.     private $discriminator;
  36.     /**
  37.      * @var \Doctrine\Common\Collections\Collection
  38.      */
  39.     private $OuvrirFenetre;
  40.     /**
  41.      * Constructor.
  42.      */
  43.     public function __construct()
  44.     {
  45.         $this->OuvrirFenetre = new \Doctrine\Common\Collections\ArrayCollection();
  46.     }
  47.     public function __toString()
  48.     {
  49.         return $this->titre;
  50.     }
  51.     /**
  52.      * Get id.
  53.      *
  54.      * @return int
  55.      */
  56.     public function getId()
  57.     {
  58.         return $this->id;
  59.     }
  60.     /**
  61.      * Set code.
  62.      *
  63.      * @param string $code
  64.      *
  65.      * @return FrequenceOuvertureFenetre
  66.      */
  67.     public function setCode($code)
  68.     {
  69.         $this->code $code;
  70.         return $this;
  71.     }
  72.     /**
  73.      * Get code.
  74.      *
  75.      * @return string
  76.      */
  77.     public function getCode()
  78.     {
  79.         return $this->code;
  80.     }
  81.     /**
  82.      * Set titre.
  83.      *
  84.      * @param string $titre
  85.      *
  86.      * @return FrequenceOuvertureFenetre
  87.      */
  88.     public function setTitre($titre)
  89.     {
  90.         $this->titre $titre;
  91.         return $this;
  92.     }
  93.     /**
  94.      * Get titre.
  95.      *
  96.      * @return string
  97.      */
  98.     public function getTitre()
  99.     {
  100.         return $this->titre;
  101.     }
  102.     /**
  103.      * Set description.
  104.      *
  105.      * @param string $description
  106.      *
  107.      * @return FrequenceOuvertureFenetre
  108.      */
  109.     public function setDescription($description)
  110.     {
  111.         $this->description $description;
  112.         return $this;
  113.     }
  114.     /**
  115.      * Get description.
  116.      *
  117.      * @return string
  118.      */
  119.     public function getDescription()
  120.     {
  121.         return $this->description;
  122.     }
  123.     /**
  124.      * Set rang.
  125.      *
  126.      * @param int $rang
  127.      *
  128.      * @return FrequenceOuvertureFenetre
  129.      */
  130.     public function setRang($rang)
  131.     {
  132.         $this->rang $rang;
  133.         return $this;
  134.     }
  135.     /**
  136.      * Get rang.
  137.      *
  138.      * @return int
  139.      */
  140.     public function getRang()
  141.     {
  142.         return $this->rang;
  143.     }
  144.     /**
  145.      * Set idBdOrigine.
  146.      *
  147.      * @param int $idBdOrigine
  148.      *
  149.      * @return FrequenceOuvertureFenetre
  150.      */
  151.     public function setIdBdOrigine($idBdOrigine)
  152.     {
  153.         $this->idBdOrigine $idBdOrigine;
  154.         return $this;
  155.     }
  156.     /**
  157.      * Get idBdOrigine.
  158.      *
  159.      * @return int
  160.      */
  161.     public function getIdBdOrigine()
  162.     {
  163.         return $this->idBdOrigine;
  164.     }
  165.     /**
  166.      * Set discriminator.
  167.      *
  168.      * @param string $discriminator
  169.      *
  170.      * @return FrequenceOuvertureFenetre
  171.      */
  172.     public function setDiscriminator($discriminator)
  173.     {
  174.         $this->discriminator $discriminator;
  175.         return $this;
  176.     }
  177.     /**
  178.      * Get discriminator.
  179.      *
  180.      * @return string
  181.      */
  182.     public function getDiscriminator()
  183.     {
  184.         return $this->discriminator;
  185.     }
  186.     /**
  187.      * Add ouvrirFenetre.
  188.      *
  189.      * @param \App\Entity\OuvrirFenetre $ouvrirFenetre
  190.      *
  191.      * @return FrequenceOuvertureFenetre
  192.      */
  193.     public function addOuvrirFenetre(OuvrirFenetre $ouvrirFenetre)
  194.     {
  195.         $this->OuvrirFenetre[] = $ouvrirFenetre;
  196.         return $this;
  197.     }
  198.     /**
  199.      * Remove ouvrirFenetre.
  200.      *
  201.      * @param \App\Entity\OuvrirFenetre $ouvrirFenetre
  202.      */
  203.     public function removeOuvrirFenetre(OuvrirFenetre $ouvrirFenetre)
  204.     {
  205.         $this->OuvrirFenetre->removeElement($ouvrirFenetre);
  206.     }
  207.     /**
  208.      * Get ouvrirFenetre.
  209.      *
  210.      * @return \Doctrine\Common\Collections\Collection
  211.      */
  212.     public function getOuvrirFenetre()
  213.     {
  214.         return $this->OuvrirFenetre;
  215.     }
  216. }