src/Entity/UserAccount.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\UserAccountRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClass: UserAccountRepository::class)]
  6. #[ORM\Table(name: 'user_account')]
  7. class UserAccount
  8. {
  9.     #[ORM\Column(name: 'id', type: 'integer')]
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue(strategy: 'AUTO')]
  12.     private ?int $id = null;
  13.     #[ORM\Column(name: 'exam_date', type: 'datetime')]
  14.     private ?\DateTimeInterface $exam_date = null;
  15.     #[ORM\Column(name: 'exam_number', type: 'string')]
  16.     private ?string $exam_number = null;
  17.     #[ORM\Column(name: 'created_at', type: 'datetime')]
  18.     private ?\DateTimeInterface $created_at = null;
  19.     #[ORM\Column(name: 'updated_at', type: 'datetime')]
  20.     private ?\DateTimeInterface $updated_at = null;
  21.     #[ORM\Column(type: 'integer')]
  22.     private ?int $compteId = null;
  23.     public function getId(): ?int
  24.     {
  25.         return $this->id;
  26.     }
  27.     public function getExamDate(): ?\DateTimeInterface
  28.     {
  29.         return $this->exam_date;
  30.     }
  31.     public function setExamDate(mixed $exam_date): static
  32.     {
  33.         $this->exam_date = $exam_date;
  34.         return $this;
  35.     }
  36.     public function getExamNumber(): ?string
  37.     {
  38.         return $this->exam_number;
  39.     }
  40.     public function setExamNumber(mixed $exam_number): static
  41.     {
  42.         $this->exam_number = $exam_number;
  43.         return $this;
  44.     }
  45.     public function getCreatedAt(): ?\DateTimeInterface
  46.     {
  47.         return $this->created_at;
  48.     }
  49.     public function setCreatedAt(mixed $created_at): static
  50.     {
  51.         $this->created_at = $created_at;
  52.         return $this;
  53.     }
  54.     public function getUpdatedAt(): ?\DateTimeInterface
  55.     {
  56.         return $this->updated_at;
  57.     }
  58.     public function setUpdatedAt(mixed $updated_at): static
  59.     {
  60.         $this->updated_at = $updated_at;
  61.         return $this;
  62.     }
  63.     public function getCompteId(): ?int
  64.     {
  65.         return $this->compteId;
  66.     }
  67.     public function setCompteId(int $compteId): self
  68.     {
  69.         $this->compteId = $compteId;
  70.         return $this;
  71.     }
  72. }