src/Entity/Prescripteur.php line 9

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PrescripteurRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassPrescripteurRepository::class)]
  6. class Prescripteur
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length255)]
  13.     private ?string $title null;
  14.     #[ORM\Column(length255)]
  15.     private ?string $logo null;
  16.     #[ORM\Column(length255nullabletrue)]
  17.     private ?string $link null;
  18.     public function getId(): ?int
  19.     {
  20.         return $this->id;
  21.     }
  22.     public function getTitle(): ?string
  23.     {
  24.         return $this->title;
  25.     }
  26.     public function setTitle(string $title): self
  27.     {
  28.         $this->title $title;
  29.         return $this;
  30.     }
  31.     public function getLogo(): ?string
  32.     {
  33.         return $this->logo;
  34.     }
  35.     public function setLogo(string $logo): self
  36.     {
  37.         $this->logo $logo;
  38.         return $this;
  39.     }
  40.     public function getLink(): ?string
  41.     {
  42.         return $this->link;
  43.     }
  44.     public function setLink(?string $link): self
  45.     {
  46.         $this->link $link;
  47.         return $this;
  48.     }
  49. }