src/Entity/Sitesettings.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SitesettingsRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassSitesettingsRepository::class)]
  7. class Sitesettings
  8. {
  9.   #[ORM\Id]
  10.   #[ORM\GeneratedValue]
  11.   #[ORM\Column(type'integer')]
  12.   private $id;
  13.   #[ORM\Column(type'string'length255)]
  14.   private $title;
  15.   #[ORM\Column(type'string'nullablefalse)]
  16.   private $label;
  17.   #[ORM\Column(type'text'nullabletrue)]
  18.   private $settings;
  19.   public function getId(): ?int
  20.   {
  21.     return $this->id;
  22.   }
  23.   public function getTitle(): ?string
  24.   {
  25.     return $this->title;
  26.   }
  27.   public function setTitle(string $title): self
  28.   {
  29.     $this->title $title;
  30.     return $this;
  31.   }
  32.   public function getLabel(): ?string
  33.   {
  34.     return $this->label;
  35.   }
  36.   public function setLabel(string $label): self
  37.   {
  38.     $this->label $label;
  39.     return $this;
  40.   }
  41.   public function getSettings(): ?string
  42.   {
  43.     return $this->settings;
  44.   }
  45.   public function setSettings(?string $settings): self
  46.   {
  47.     $this->settings $settings;
  48.     return $this;
  49.   }
  50. }