src/Entity/Speaker.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SpeakerRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassSpeakerRepository::class)]
  7. class Speaker
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255nullabletrue)]
  14.     private ?string $nom null;
  15.     #[ORM\Column(length255nullabletrue)]
  16.     private ?string $prenom null;
  17.     #[ORM\Column(length255nullabletrue)]
  18.     private ?string $photo null;
  19.     #[ORM\Column(length255nullabletrue)]
  20.     private ?string $grade null;
  21.     #[ORM\Column(length255nullabletrue)]
  22.     private ?string $affiliation null;
  23.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  24.     private ?string $biographie null;
  25.     
  26.     public function getId(): ?int
  27.     {
  28.         return $this->id;
  29.     }
  30.     public function getNom(): ?string
  31.     {
  32.         return $this->nom;
  33.     }
  34.     public function setNom(?string $nom): static
  35.     {
  36.         $this->nom $nom;
  37.         return $this;
  38.     }
  39.     public function getPrenom(): ?string
  40.     {
  41.         return $this->prenom;
  42.     }
  43.     public function setPrenom(?string $prenom): static
  44.     {
  45.         $this->prenom $prenom;
  46.         return $this;
  47.     }
  48.     public function getPhoto(): ?string
  49.     {
  50.         return $this->photo;
  51.     }
  52.     public function setPhoto(?string $photo): static
  53.     {
  54.         $this->photo $photo;
  55.         return $this;
  56.     }
  57.     public function getGrade(): ?string
  58.     {
  59.         return $this->grade;
  60.     }
  61.     public function setGrade(?string $grade): static
  62.     {
  63.         $this->grade $grade;
  64.         return $this;
  65.     }
  66.     public function getAffiliation(): ?string
  67.     {
  68.         return $this->affiliation;
  69.     }
  70.     public function setAffiliation(?string $affiliation): static
  71.     {
  72.         $this->affiliation $affiliation;
  73.         return $this;
  74.     }
  75.     public function getBiographie(): ?string
  76.     {
  77.         return $this->biographie;
  78.     }
  79.     public function setBiographie(?string $biographie): static
  80.     {
  81.         $this->biographie $biographie;
  82.         return $this;
  83.     }
  84.     
  85. }