src/Entity/HistoriqueSportif.php line 10
<?phpnamespace App\Entity;use App\Repository\HistoriqueSportifRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: HistoriqueSportifRepository::class)]class HistoriqueSportif{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column]private ?float $imc_current = null;#[ORM\Column(nullable: true)]private ?float $imc_min = null;#[ORM\Column(nullable: true)]private ?float $imc_max = null;#[ORM\Column(nullable: true)]private ?float $poids_imc_min = null;#[ORM\Column(nullable: true)]private ?float $poids_imc_max = null;#[ORM\Column(type: Types::DATE_MUTABLE)]private ?\DateTimeInterface $date_ajout = null;/*** @param \DateTimeInterface|null $date_ajout*/public function __construct(?\DateTimeInterface $date_ajout){$this->date_ajout = new \DateTimeImmutable('now');}public function getId(): ?int{return $this->id;}public function getImcCurrent(): ?float{return $this->imc_current;}public function setImcCurrent(float $imc_current): static{$this->imc_current = $imc_current;return $this;}public function getImcMin(): ?float{return $this->imc_min;}public function setImcMin(?float $imc_min): static{$this->imc_min = $imc_min;return $this;}public function getImcMax(): ?float{return $this->imc_max;}public function setImcMax(?float $imc_max): static{$this->imc_max = $imc_max;return $this;}public function getPoidsImcMin(): ?float{return $this->poids_imc_min;}public function setPoidsImcMin(?float $poids_imc_min): static{$this->poids_imc_min = $poids_imc_min;return $this;}public function getPoidsImcMax(): ?float{return $this->poids_imc_max;}public function setPoidsImcMax(?float $poids_imc_max): static{$this->poids_imc_max = $poids_imc_max;return $this;}public function getDateAjout(): ?\DateTimeInterface{return $this->date_ajout;}public function setDateAjout(\DateTimeInterface $date_ajout): static{$this->date_ajout = $date_ajout;return $this;}}