<?php
namespace App\Entity;
use App\Repository\SettingRepository;
use Doctrine\DBAL\Types\Types;
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]
private ?int $const = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $value = null;
public function getId(): ?int
{
return $this->id;
}
public function getConst(): ?int
{
return $this->const;
}
public function setConst(int $const): static
{
$this->const = $const;
return $this;
}
public function getValue(): ?string
{
return $this->value;
}
public function setValue(?string $value): static
{
$this->value = $value;
return $this;
}
}