<?phpnamespace App\Entity;use App\Repository\TemoignageElearningRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: TemoignageElearningRepository::class)]class TemoignageElearning{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $description = null; #[ORM\Column(length: 255, nullable: true)] private ?string $image = null; #[ORM\Column(length: 255, nullable: true)] private ?string $nom = null; #[ORM\Column(length: 255, nullable: true)] private ?string $prenom = null; #[ORM\ManyToOne(inversedBy: 'temoignageElearnings')] private ?FormationElearning $formation = null; #[ORM\Column(length: 255, nullable: true)] private ?string $poste = null; public function getId(): ?int { return $this->id; } public function getDescription(): ?string { return $this->description; } public function setDescription(?string $description): self { $this->description = $description; return $this; } public function getImage(): ?string { return $this->image; } public function setImage(?string $image): self { $this->image = $image; return $this; } public function getNom(): ?string { return $this->nom; } public function setNom(?string $nom): self { $this->nom = $nom; return $this; } public function getPrenom(): ?string { return $this->prenom; } public function setPrenom(?string $prenom): self { $this->prenom = $prenom; return $this; } public function getFormation(): ?FormationElearning { return $this->formation; } public function setFormation(?FormationElearning $formation): self { $this->formation = $formation; return $this; } public function getPoste(): ?string { return $this->poste; } public function setPoste(?string $poste): self { $this->poste = $poste; return $this; }}