id; } public function setUser(?User $user): self { $this->user = $user; return $this; } public function getUser(): ?User { return $this->user; } public function setRate(float $rate): self { $this->rate = $rate; return $this; } public function getRate(): float { return $this->rate; } public function setInternalRate(?float $rate): self { $this->internalRate = $rate; return $this; } public function getInternalRate(): ?float { return $this->internalRate; } public function isFixed(): bool { return $this->isFixed; } public function setIsFixed(bool $isFixed): self { $this->isFixed = $isFixed; return $this; } public function __clone() { if ($this->id) { $this->id = null; } } }