<?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(type: 'integer')]
private $id;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $optionName;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $optionValue;
public function getId(): ?int
{
return $this->id;
}
public function getOptionName(): ?string
{
return $this->optionName;
}
public function setOptionName(?string $optionName): self
{
$this->optionName = $optionName;
return $this;
}
public function getOptionValue(): ?string
{
return $this->optionValue;
}
public function setOptionValue(?string $optionValue): self
{
$this->optionValue = $optionValue;
return $this;
}
}