<?phpnamespace App\Entity;use App\Repository\CertifElearningRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: CertifElearningRepository::class)]class CertifElearning{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = 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\Column(length: 255, nullable: true)] private ?string $titre = null; #[ORM\Column(type: Types::DATE_MUTABLE, nullable: true)] private ?\DateTimeInterface $date = null; #[ORM\ManyToOne(inversedBy: 'certifElearnings')] private ?FormationElearning $formation = null; public function getId(): ?int { return $this->id; } 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 getTitre(): ?string { return $this->titre; } public function setTitre(?string $titre): self { $this->titre = $titre; return $this; } public function getDate(): ?\DateTimeInterface { return $this->date; } public function setDate(?\DateTimeInterface $date): self { $this->date = $date; return $this; } public function getFormation(): ?FormationElearning { return $this->formation; } public function setFormation(?FormationElearning $formation): self { $this->formation = $formation; return $this; }}