src/Entity/Partial.php line 8

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. #[ORM\Entity]
  5. class Partial extends OrderProduct
  6. {
  7.     #[ORM\Column(length255)]
  8.     private ?string $name null;
  9.     // ClientOrder relationship is now handled by parent OrderProduct class
  10.     public function getName(): ?string
  11.     {
  12.         return $this->name;
  13.     }
  14.     public function setName(string $name): static
  15.     {
  16.         $this->name $name;
  17.         return $this;
  18.     }
  19. }