src/Entity/Settings.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Settings
  6.  *
  7.  * @ORM\Table(name="settings")
  8.  * @ORM\Entity
  9.  * @ORM\Entity(repositoryClass="App\Repository\SettingsRepository")
  10.  */
  11. class Settings
  12. {
  13.     /**
  14.      * @var int
  15.      *
  16.      * @ORM\Column(name="id", type="integer", nullable=false)
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="IDENTITY")
  19.      */
  20.     private $id;
  21.     /**
  22.      * @var string|null
  23.      *
  24.      * @ORM\Column(name="config_name", type="string", length=32, nullable=true)
  25.      */
  26.     private $config_name;
  27.     /**
  28.      * @var string|null
  29.      *
  30.      * @ORM\Column(name="config_value", type="string", length=64, nullable=true)
  31.      */
  32.     private $config_value;
  33.  /**
  34.      * Get id
  35.      *
  36.      * @return integer
  37.      */
  38.     public function getId()
  39.     {
  40.         return $this->id;
  41.     }
  42.     /**
  43.      * Set configName
  44.      *
  45.      * @param string $configName
  46.      *
  47.      * @return Settings
  48.      */
  49.     public function setConfigName($configName)
  50.     {
  51.         $this->config_name $configName;
  52.         return $this;
  53.     }
  54.     /**
  55.      * Get configName
  56.      *
  57.      * @return string
  58.      */
  59.     public function getConfigName()
  60.     {
  61.         return $this->config_name;
  62.     }
  63.     /**
  64.      * Set configValue
  65.      *
  66.      * @param string $configValue
  67.      *
  68.      * @return Settings
  69.      */
  70.     public function setConfigValue($configValue)
  71.     {
  72.         $this->config_value $configValue;
  73.         return $this;
  74.     }
  75.     /**
  76.      * Get configValue
  77.      *
  78.      * @return string
  79.      */
  80.     public function getConfigValue()
  81.     {
  82.         return $this->config_value;
  83.     }
  84. }