<?php
namespace App\Entity;
use App\Repository\RendezVousRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: RendezVousRepository::class)]
class RendezVous
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column]
private ?\DateTimeImmutable $createdAt = null;
public function getId(): ?int
{
return $this->id;
}
public function getCreatedAt(): ?\DateTimeImmutable
{
return $this->createdAt;
}
public function setCreatedAt(\DateTimeImmutable $createdAt): static
{
$this->createdAt = $createdAt;
return $this;
}
}