<?php
namespace App\Entity;
use App\Repository\SessionFormationRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: SessionFormationRepository::class)]
class SessionFormation
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $StartAt = null;
public function getId(): ?int
{
return $this->id;
}
public function getStartAt(): ?\DateTimeInterface
{
return $this->StartAt;
}
public function setStartAt(?\DateTimeInterface $StartAt): static
{
$this->StartAt = $StartAt;
return $this;
}
}