<?php
namespace App\Entity;
use App\Repository\CustomServiceRepository;
use App\Repository\ExtraRepository;
use App\Repository\ManualFlightRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ManualFlightRepository::class)]
class ManualFlight extends Product
{
#[ORM\Column(length: 255)]
private ?string $name = null;
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): static
{
$this->name = $name;
return $this;
}
public function __toString(): string
{
return (string) $this->name;
}
public function getClass() : string {
return "ManualFlight";
}
}