<?php
namespace App\Entity;
use App\Repository\LepDiiaPidrozdilRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: LepDiiaPidrozdilRepository::class)]
class LepDiiaPidrozdil
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $name = null;
#[ORM\Column(length: 500)]
private ?string $email = null;
#[ORM\Column(length: 10)]
private ?string $type = null;
#[ORM\Column]
private ?int $orders = null;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): static
{
$this->name = $name;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(string $email): static
{
$this->email = $email;
return $this;
}
public function getType(): ?string
{
return $this->type;
}
public function setType(string $type): static
{
$this->type = $type;
return $this;
}
public function getOrders(): ?int
{
return $this->orders;
}
public function setOrders(int $orders): static
{
$this->orders = $orders;
return $this;
}
}