<?phpnamespace App\Entity;use App\Repository\FactureFormateurRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=FactureFormateurRepository::class) */class FactureFormateur{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=10) */ private $annee; /** * @ORM\ManyToOne(targetEntity=Mois::class, inversedBy="factureFormateurs") */ private $mois; /** * @ORM\Column(type="text", nullable=true) */ private $url; /** * @ORM\Column(type="datetime_immutable", nullable=true) */ private $created_at; /** * @ORM\ManyToOne(targetEntity=Formateur::class, inversedBy="factureFormateurs") */ private $formateur; public function getId(): ?int { return $this->id; } public function getAnnee(): ?string { return $this->annee; } public function setAnnee(string $annee): self { $this->annee = $annee; return $this; } public function getMois(): ?Mois { return $this->mois; } public function setMois(?Mois $mois): self { $this->mois = $mois; return $this; } public function getUrl(): ?string { return $this->url; } public function setUrl(?string $url): self { $this->url = $url; return $this; } public function getCreatedAt(): ?\DateTimeImmutable { return $this->created_at; } public function setCreatedAt(?\DateTimeImmutable $created_at): self { $this->created_at = $created_at; return $this; } public function getFormateur(): ?Formateur { return $this->formateur; } public function setFormateur(?Formateur $formateur): self { $this->formateur = $formateur; return $this; }}