src/Entity/LepDiiaPidrozdil.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\LepDiiaPidrozdilRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassLepDiiaPidrozdilRepository::class)]
  6. class LepDiiaPidrozdil
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length255)]
  13.     private ?string $name null;
  14.     #[ORM\Column(length500)]
  15.     private ?string $email null;
  16.     #[ORM\Column(length10)]
  17.     private ?string $type null;
  18.     #[ORM\Column]
  19.     private ?int $orders null;
  20.     public function getId(): ?int
  21.     {
  22.         return $this->id;
  23.     }
  24.     public function getName(): ?string
  25.     {
  26.         return $this->name;
  27.     }
  28.     public function setName(string $name): static
  29.     {
  30.         $this->name $name;
  31.         return $this;
  32.     }
  33.     public function getEmail(): ?string
  34.     {
  35.         return $this->email;
  36.     }
  37.     public function setEmail(string $email): static
  38.     {
  39.         $this->email $email;
  40.         return $this;
  41.     }
  42.     public function getType(): ?string
  43.     {
  44.         return $this->type;
  45.     }
  46.     public function setType(string $type): static
  47.     {
  48.         $this->type $type;
  49.         return $this;
  50.     }
  51.     public function getOrders(): ?int
  52.     {
  53.         return $this->orders;
  54.     }
  55.     public function setOrders(int $orders): static
  56.     {
  57.         $this->orders $orders;
  58.         return $this;
  59.     }
  60. }