<?php
namespace App\Entity;
use App\Repository\LepDiiaKomProRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: LepDiiaKomProRepository::class)]
class LepDiiaKomPro
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $name_pr = null;
#[ORM\Column(length: 255)]
private ?string $url_pr = null;
#[ORM\Column(type: Types::TEXT)]
private ?string $descr_pr = null;
#[ORM\Column(length: 25)]
private ?string $type_pr = null;
#[ORM\Column]
private ?int $orders = null;
public function getId(): ?int
{
return $this->id;
}
public function getNamePr(): ?string
{
return $this->name_pr;
}
public function setNamePr(string $name_pr): static
{
$this->name_pr = $name_pr;
return $this;
}
public function getUrlPr(): ?string
{
return $this->url_pr;
}
public function setUrlPr(string $url_pr): static
{
$this->url_pr = $url_pr;
return $this;
}
public function getDescrPr(): ?string
{
return $this->descr_pr;
}
public function setDescrPr(string $descr_pr): static
{
$this->descr_pr = $descr_pr;
return $this;
}
public function getTypePr(): ?string
{
return $this->type_pr;
}
public function setTypePr(string $type_pr): static
{
$this->type_pr = $type_pr;
return $this;
}
public function getOrders(): ?int
{
return $this->orders;
}
public function setOrders(int $orders): static
{
$this->orders = $orders;
return $this;
}
}