src/Entity/LepDiiaKomPro.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\LepDiiaKomProRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassLepDiiaKomProRepository::class)]
  7. class LepDiiaKomPro
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $name_pr null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $url_pr null;
  17.     #[ORM\Column(typeTypes::TEXT)]
  18.     private ?string $descr_pr null;
  19.     #[ORM\Column(length25)]
  20.     private ?string $type_pr null;
  21.     #[ORM\Column]
  22.     private ?int $orders null;
  23.     public function getId(): ?int
  24.     {
  25.         return $this->id;
  26.     }
  27.     public function getNamePr(): ?string
  28.     {
  29.         return $this->name_pr;
  30.     }
  31.     public function setNamePr(string $name_pr): static
  32.     {
  33.         $this->name_pr $name_pr;
  34.         return $this;
  35.     }
  36.     public function getUrlPr(): ?string
  37.     {
  38.         return $this->url_pr;
  39.     }
  40.     public function setUrlPr(string $url_pr): static
  41.     {
  42.         $this->url_pr $url_pr;
  43.         return $this;
  44.     }
  45.     public function getDescrPr(): ?string
  46.     {
  47.         return $this->descr_pr;
  48.     }
  49.     public function setDescrPr(string $descr_pr): static
  50.     {
  51.         $this->descr_pr $descr_pr;
  52.         return $this;
  53.     }
  54.     public function getTypePr(): ?string
  55.     {
  56.         return $this->type_pr;
  57.     }
  58.     public function setTypePr(string $type_pr): static
  59.     {
  60.         $this->type_pr $type_pr;
  61.         return $this;
  62.     }
  63.     public function getOrders(): ?int
  64.     {
  65.         return $this->orders;
  66.     }
  67.     public function setOrders(int $orders): static
  68.     {
  69.         $this->orders $orders;
  70.         return $this;
  71.     }
  72. }