<?php
namespace App\Entity;
use App\Repository\LepDiiaSheringErrorRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: LepDiiaSheringErrorRepository::class)]
class LepDiiaSheringError
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $error = null;
#[ORM\Column(length: 500)]
private ?string $descr_error = null;
public function getId(): ?int
{
return $this->id;
}
public function getError(): ?string
{
return $this->error;
}
public function setError(string $error): static
{
$this->error = $error;
return $this;
}
public function getDescrError(): ?string
{
return $this->descr_error;
}
public function setDescrError(string $descr_error): static
{
$this->descr_error = $descr_error;
return $this;
}
}