src/Entity/ManualFlight.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CustomServiceRepository;
  4. use App\Repository\ExtraRepository;
  5. use App\Repository\ManualFlightRepository;
  6. use Doctrine\DBAL\Types\Types;
  7. use Doctrine\ORM\Mapping as ORM;
  8. #[ORM\Entity(repositoryClassManualFlightRepository::class)]
  9. class ManualFlight extends  Product
  10. {
  11.     #[ORM\Column(length255)]
  12.     private ?string $name null;
  13.     public function getName(): ?string
  14.     {
  15.         return $this->name;
  16.     }
  17.     public function setName(string $name): static
  18.     {
  19.         $this->name $name;
  20.         return $this;
  21.     }
  22.     public function __toString(): string
  23.     {
  24.         return (string) $this->name;
  25.     }
  26.     public function getClass()  : string {
  27.         return "ManualFlight";
  28.     }
  29. }