src/Entity/TypeSupport.php line 8

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. #[ORM\Entity(repositoryClass\App\Repository\TypeSupportRepository::class)]
  5. class TypeSupport
  6. {
  7.     #[ORM\Id]
  8.     #[ORM\GeneratedValue]
  9.     #[ORM\Column(type'integer')]
  10.     private int $id;
  11.     #[ORM\Column(type'string'length255nullabletrue)]
  12.     private ?string $namenull;
  13.     #[ORM\Column(type'string'length255nullabletrue)]
  14.     private ?string $nameSmallnull;
  15.     public function getId(): ?int
  16.     {
  17.         return $this->id;
  18.     }
  19.     public function getName(): ?string
  20.     {
  21.         return $this->name;
  22.     }
  23.     public function setName(?string $name): self
  24.     {
  25.         $this->name $name;
  26.         return $this;
  27.     }
  28.     public function getNameSmall(): ?string
  29.     {
  30.         return $this->nameSmall;
  31.     }
  32.     public function setNameSmall(?string $nameSmall): self
  33.     {
  34.         $this->nameSmall $nameSmall;
  35.         return $this;
  36.     }
  37. }