src/Entity/ParametresGeneraux.php line 10

Open in your IDE?
  1. <?php 
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity
  6.  * @ORM\Table(name="partage_dbo.parametres_generaux")
  7.  */
  8. class ParametresGeneraux{
  9.     
  10.     /**
  11.      *
  12.      * @var int @ORM\Id
  13.      *      @ORM\Column(type="integer",name="id_parametre")
  14.      *      @ORM\GeneratedValue(strategy="AUTO")
  15.      */
  16.     protected $id_parametre;
  17.     /**
  18.      *
  19.      * @var string @ORM\Column(type="string", nullable=true, name="type_parametre", options={"default"= null})
  20.      */
  21.     protected $type_parametre;
  22.     /**
  23.      *
  24.      * @var string @ORM\Column(type="string", nullable=true, name="plateforme_parametre", options={"default"= null})
  25.      */
  26.     protected $plateforme_parametre;
  27.     /**
  28.      *
  29.      * @var string @ORM\Column(type="string", nullable=true, name="nom_parametre", options={"default"= null})
  30.      */
  31.     protected $nom_parametre;
  32.     /**
  33.      *
  34.      * @var string @ORM\Column(type="string", nullable=true, name="valeur_parametre", options={"default"= null})
  35.      */
  36.     protected $valeur_parametre;
  37.     
  38.     /**
  39.      * Magic getter to expose protected properties.
  40.      *
  41.      * @param string $property
  42.      * @return mixed
  43.      */
  44.     public function _get($property)
  45.     {
  46.         return $this->$property;
  47.     }
  48.     
  49.     /**
  50.      * Magic setter to save protected properties.
  51.      *
  52.      * @param string $property
  53.      * @param mixed $value
  54.      */
  55.     public function _set($property$value)
  56.     {
  57.         $this->$property $value;
  58.     }
  59. }
  60. ?>