src/Entity/Settings.php line 11

  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity
  6.  * @ORM\Table(name="settings")
  7.  */
  8. class Settings
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string")
  18.      */
  19.     private $name;
  20.     /**
  21.      * @ORM\Column(type="string")
  22.      */
  23.     private $description;
  24.     /**
  25.      * @ORM\Column(type="text")
  26.      */
  27.     private $value;
  28.     public function setId(int $value) : void {
  29.         $this->id $value;
  30.     }
  31.     public function setName(string $value) : void {
  32.         $this->name $value;
  33.     }
  34.     public function setDescription(string $value) : void {
  35.         $this->description $value;
  36.     }
  37.     public function setValue(string $value) : void {
  38.         $this->value $value;
  39.     }
  40.     public function getId() : int {
  41.         return $this->id;
  42.     }
  43.     public function getName() : string {
  44.         return $this->name;
  45.     }
  46.     public function getDescription() : string {
  47.         return $this->description;
  48.     }
  49.     public function getValue() : string {
  50.         return $this->value;
  51.     }
  52. }