<?php
namespace App\Entity;
use App\Repository\SelectValuesRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: SelectValuesRepository::class)]
class SelectValues
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(name: 'select_key', length: 50)]
private ?string $key = null;
#[ORM\Column(length: 255)]
private ?string $value = null;
#[ORM\Column(nullable: true)]
private ?int $orderNumber = null;
public function getId(): ?int
{
return $this->id;
}
public function getKey(): ?string
{
return $this->key;
}
public function setKey(string $key): static
{
$this->key = $key;
return $this;
}
public function getValue(): ?string
{
return $this->value;
}
public function setValue(string $value): static
{
$this->value = $value;
return $this;
}
public function getOrderNumber(): ?int
{
return $this->orderNumber;
}
public function setOrderNumber(?int $orderNumber): static
{
$this->orderNumber = $orderNumber;
return $this;
}
}