src/Entity/Parametrage/Parametre.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Parametrage;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity
  6.  * TODO : schema parametrage ou pas ?
  7.  * @ORM\Table(name="parametrage.parametre")
  8.  */
  9. class Parametre {
  10.     /**
  11.      * @ORM\Column(type="integer")
  12.      * @ORM\Id
  13.      * Pas d'auto-inc car IDs mappés à une enum
  14.      * @see App\Entity\Parametrage\EnumParametre
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="string", length=70)
  19.      */
  20.     private $libelle;
  21.     /**
  22.      * @ORM\Column(type="string", length=10000, nullable=true)
  23.      */
  24.     private $valeur;
  25.     /**
  26.      * Get id
  27.      *
  28.      * @return integer
  29.      */
  30.     public function getId() {
  31.         return $this->id;
  32.     }
  33.     /**
  34.      * Set id
  35.      *
  36.      * @return integer
  37.      */
  38.     public function setId($id) {
  39.         $this->id $id;
  40.         return $this;
  41.     }
  42.     /**
  43.      * Set libelle
  44.      *
  45.      * @param string $libelle
  46.      *
  47.      * @return Parametre
  48.      */
  49.     public function setLibelle($libelle) {
  50.         $this->libelle $libelle;
  51.         return $this;
  52.     }
  53.     /**
  54.      * Get libelle
  55.      *
  56.      * @return string
  57.      */
  58.     public function getLibelle() {
  59.         return $this->libelle;
  60.     }
  61.     /**
  62.      * Set libelle
  63.      *
  64.      * @param string $valeur
  65.      *
  66.      * @return Parametre
  67.      */
  68.     public function setValeur($valeur) {
  69.         $this->valeur $valeur;
  70.         return $this;
  71.     }
  72.     /**
  73.      * Get valeur
  74.      *
  75.      * @return string
  76.      */
  77.     public function getValeur() {
  78.         return $this->valeur;
  79.     }
  80. }