<?php
namespace App\Entity;
use App\Repository\CustomServiceRepository;
use App\Repository\ExtraRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: CustomServiceRepository::class)]
class CustomService 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 "CustomService";
}
}