src/Entity/Slave/Setting.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Slave;
  3. use Doctrine\Common\Collections\ArrayCollection;
  4. use Doctrine\Common\Collections\Collection;
  5. use Doctrine\DBAL\Types\Types;
  6. use Doctrine\ORM\Mapping as ORM;
  7. /**
  8.  * @ORM\Table(name="eposm_s_setting")
  9.  * @ORM\Entity
  10.  */
  11. class Setting
  12. {    
  13.     /**
  14.      * @ORM\Column(name="id", type="bigint")
  15.      * @ORM\Id
  16.      * @ORM\GeneratedValue(strategy="AUTO")
  17.      */
  18.     protected $id;
  19.     
  20.     /**
  21.      * @ORM\Column(name="slug", type="string", length=191, nullable=true)
  22.      */
  23.     protected $slug;
  24.     
  25.     /**
  26.      * @ORM\Column(name="value", type="string", length=191, nullable=true)
  27.      */
  28.     protected $value;
  29.     public function getId(): ?string
  30.     {
  31.         return $this->id;
  32.     }
  33.     public function getSlug(): ?string
  34.     {
  35.         return $this->slug;
  36.     }
  37.     public function setSlug(?string $slug): self
  38.     {
  39.         $this->slug $slug;
  40.         return $this;
  41.     }
  42.     public function getValue(): ?string
  43.     {
  44.         return $this->value;
  45.     }
  46.     public function setValue(?string $value): self
  47.     {
  48.         $this->value $value;
  49.         return $this;
  50.     }
  51. }