<?php
namespace App\Entity;
use App\Repository\UserAccountRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: UserAccountRepository::class)]
#[ORM\Table(name: 'user_account')]
class UserAccount
{
#[ORM\Column(name: 'id', type: 'integer')]
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'AUTO')]
private ?int $id = null;
#[ORM\Column(name: 'exam_date', type: 'datetime')]
private ?\DateTimeInterface $exam_date = null;
#[ORM\Column(name: 'exam_number', type: 'string')]
private ?string $exam_number = null;
#[ORM\Column(name: 'created_at', type: 'datetime')]
private ?\DateTimeInterface $created_at = null;
#[ORM\Column(name: 'updated_at', type: 'datetime')]
private ?\DateTimeInterface $updated_at = null;
#[ORM\Column(type: 'integer')]
private ?int $compteId = null;
public function getId(): ?int
{
return $this->id;
}
public function getExamDate(): ?\DateTimeInterface
{
return $this->exam_date;
}
public function setExamDate(mixed $exam_date): static
{
$this->exam_date = $exam_date;
return $this;
}
public function getExamNumber(): ?string
{
return $this->exam_number;
}
public function setExamNumber(mixed $exam_number): static
{
$this->exam_number = $exam_number;
return $this;
}
public function getCreatedAt(): ?\DateTimeInterface
{
return $this->created_at;
}
public function setCreatedAt(mixed $created_at): static
{
$this->created_at = $created_at;
return $this;
}
public function getUpdatedAt(): ?\DateTimeInterface
{
return $this->updated_at;
}
public function setUpdatedAt(mixed $updated_at): static
{
$this->updated_at = $updated_at;
return $this;
}
public function getCompteId(): ?int
{
return $this->compteId;
}
public function setCompteId(int $compteId): self
{
$this->compteId = $compteId;
return $this;
}
}