src/Entity/Configurations.php line 13

Open in your IDE?
  1. <?php
  2. /**
  3.  * Created by Stéphane Brun
  4.  */
  5. namespace App\Entity;
  6. use Doctrine\ORM\Mapping as ORM;
  7. /**
  8.  * @ORM\Entity
  9.  * @ORM\Table(name="configurations")
  10.  */
  11. class Configurations
  12. {
  13.     /**
  14.      * @ORM\Column(type="integer")
  15.      * @ORM\Id
  16.      * @ORM\GeneratedValue(strategy="AUTO")
  17.      */
  18.     protected $id;
  19.     /**
  20.      * @ORM\Column(name="key", type="string", length=255)
  21.      */
  22.     protected $key;
  23.     /**
  24.      * @ORM\Column(name="value", type="string", length=255, nullable=true)
  25.      */
  26.     protected $value;
  27.     /**
  28.      * @return mixed
  29.      */
  30.     public function getId()
  31.     {
  32.         return $this->id;
  33.     }
  34.     /**
  35.      * @return mixed
  36.      */
  37.     public function getKey()
  38.     {
  39.         return $this->key;
  40.     }
  41.     /**
  42.      * @param mixed $key
  43.      * @return Configurations
  44.      */
  45.     public function setKey($key)
  46.     {
  47.         $this->key $key;
  48.         return $this;
  49.     }
  50.     /**
  51.      * @return mixed
  52.      */
  53.     public function getValue()
  54.     {
  55.         return $this->value;
  56.     }
  57.     /**
  58.      * @param mixed $value
  59.      * @return Configurations
  60.      */
  61.     public function setValue($value)
  62.     {
  63.         $this->value $value;
  64.         return $this;
  65.     }
  66. }