<?phpnamespace App\Entity;use App\Repository\SettingRepository;use Doctrine\ORM\Mapping as ORM;use Gedmo\Mapping\Annotation as Gedmo;/** * @ORM\Entity(repositoryClass=SettingRepository::class) */class Setting extends BaseEntity{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=255) */ private $keyName; /** * @ORM\Column(type="text") */ private $value; /** * @Gedmo\Slug(fields={"keyName"}) * @ORM\Column(length=191) */ private $slug; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $type; public function getId(): ?int { return $this->id; } public function getKeyName(): ?string { return $this->keyName; } public function setKeyName(string $keyName): self { $this->keyName = $keyName; return $this; } public function getValue(): ?string { return $this->value; } public function setValue(string $value): self { $this->value = $value; return $this; } /** * Get the value of slug */ public function getSlug() { return $this->slug; } /** * Set the value of slug * * @return self */ public function setSlug($slug) { $this->slug = $slug; return $this; } public function getType(): ?string { return $this->type; } public function setType(?string $type): self { $this->type = $type; return $this; }}