<?php
namespace App\Entity;
use App\Repository\SettingRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: SettingRepository::class)]
class Setting
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 100)]
private ?string $settingKey = null;
#[ORM\Column(type: 'text', nullable: true)]
private ?string $settingValue = null;
public function getId(): ?int
{
return $this->id;
}
public function getSettingKey(): ?string
{
return $this->settingKey;
}
public function setSettingKey(string $settingKey): static
{
$this->settingKey = $settingKey;
return $this;
}
public function getSettingValue(): ?string
{
return $this->settingValue;
}
public function setSettingValue(?string $settingValue): static
{
$this->settingValue = $settingValue;
return $this;
}
}