<?phpnamespace App\Entity;use App\Repository\SpeakerRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: SpeakerRepository::class)]class Speaker{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(length: 255, nullable: true)] private ?string $nom = null; #[ORM\Column(length: 255, nullable: true)] private ?string $prenom = null; #[ORM\Column(length: 255, nullable: true)] private ?string $photo = null; #[ORM\Column(length: 255, nullable: true)] private ?string $grade = null; #[ORM\Column(length: 255, nullable: true)] private ?string $affiliation = null; #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $biographie = null; public function getId(): ?int { return $this->id; } public function getNom(): ?string { return $this->nom; } public function setNom(?string $nom): static { $this->nom = $nom; return $this; } public function getPrenom(): ?string { return $this->prenom; } public function setPrenom(?string $prenom): static { $this->prenom = $prenom; return $this; } public function getPhoto(): ?string { return $this->photo; } public function setPhoto(?string $photo): static { $this->photo = $photo; return $this; } public function getGrade(): ?string { return $this->grade; } public function setGrade(?string $grade): static { $this->grade = $grade; return $this; } public function getAffiliation(): ?string { return $this->affiliation; } public function setAffiliation(?string $affiliation): static { $this->affiliation = $affiliation; return $this; } public function getBiographie(): ?string { return $this->biographie; } public function setBiographie(?string $biographie): static { $this->biographie = $biographie; return $this; } }