<?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;
#[ORM\Column(nullable: true)]
private ?int $sourceId = 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";
}
public function getSourceId(): ?int
{
return $this->sourceId;
}
public function setSourceId(?int $sourceId): static
{
$this->sourceId = $sourceId;
return $this;
}
}