src/Entity/Specialties.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SpecialtiesRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. #[ORM\Entity(repositoryClassSpecialtiesRepository::class)]
  8. class Specialties
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\Column(length255)]
  15.     private ?string $title null;
  16.     public function getId(): ?int
  17.     {
  18.         return $this->id;
  19.     }
  20.     public function getTitle(): ?string
  21.     {
  22.         return $this->title;
  23.     }
  24.     public function setTitle(string $title): self
  25.     {
  26.         $this->title $title;
  27.         return $this;
  28.     }
  29. }