tqt encore ++

This commit is contained in:
Romain 2024-11-11 16:00:51 +01:00 committed by bourgoino
parent 0e2a2f25f6
commit 1567570d12

View File

@ -1,36 +0,0 @@
<?php
namespace App\Entity;
use App\Repository\ObtainingRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ObtainingRepository::class)]
class Obtaining
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(type: Types::DATE_MUTABLE)]
private ?\DateTimeInterface $date = null;
public function getId(): ?int
{
return $this->id;
}
public function getDate(): ?\DateTimeInterface
{
return $this->date;
}
public function setDate(\DateTimeInterface $date): static
{
$this->date = $date;
return $this;
}
}