id; } public function getDate(): ?\DateTimeInterface { return $this->date; } public function setDate(\DateTimeInterface $date): self { $this->date = $date; return $this; } public function getValue(): ?float { return $this->value; } public function setValue(float $value): self { $this->value = $value; return $this; } }