<?phpnamespace App\Entity;use App\Entity\Eventable\EventableTrait;use App\Repository\TicketTypeRepository;use Doctrine\ORM\Mapping as ORM;use Symfony\Component\Uid\Uuid;/** * @ORM\Entity(repositoryClass=TicketTypeRepository::class) */class TicketType{ use EventableTrait; /** * @ORM\Id * @ORM\Column(type="uuid", unique=true) */ private string $id; /** * @ORM\Column(type="string", length=255) */ private $name; /** * @ORM\Column(type="text", nullable=true) */ private $description; /** * @ORM\Column(type="integer", nullable=true) */ private $ticketTailorId; /** * @ORM\Column(type="boolean") */ private $person; public function __construct() { $this->id = Uuid::v4(); } public function getId(): string { return $this->id; } public function getName(): ?string { return $this->name; } public function setName(string $name): self { $this->name = $name; return $this; } public function getDescription(): ?string { return $this->description; } public function setDescription(?string $description): self { $this->description = $description; return $this; } public function getTicketTailorId(): ?int { return $this->ticketTailorId; } public function setTicketTailorId(?int $ticketTailorId): self { $this->ticketTailorId = $ticketTailorId; return $this; } public function getPerson(): ?bool { return $this->person; } public function setPerson(bool $person): self { $this->person = $person; return $this; }}