<?phpnamespace App\Entity;use App\Repository\ScoreObjectiveRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=ScoreObjectiveRepository::class) */class ScoreObjective{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity=User::class, inversedBy="scoreObjectives") * @ORM\JoinColumn(nullable=false) */ private $user; /** * @ORM\Column(type="float") */ private $value = 0; /** * @ORM\Column(type="integer", nullable=true) */ private $month; /** * @ORM\Column(type="integer", nullable=true) */ private $year; /** * @ORM\Column(type="float", nullable=true) */ private $valueCA = 0; /** * @ORM\Column(type="integer", nullable=true) */ private $valueBooster = 0; /** * @ORM\Column(type="float", nullable=true) */ private $lastYearCa = 0; /** * @ORM\Column(type="integer", nullable=true) */ private $lastYearBooster = 0; public function getId(): ?int { return $this->id; } public function getUser(): ?User { return $this->user; } public function setUser(?User $user): self { $this->user = $user; return $this; } public function getValue(): ?float { return $this->value; } public function setValue(float $value): self { $this->value = $value; return $this; } public function getMonth(): ?int { return $this->month; } public function setMonth(?int $month): self { $this->month = $month; return $this; } public function getYear(): ?int { return $this->year; } public function setYear(?int $year): self { $this->year = $year; return $this; } public function getValueCA(): ?float { return $this->valueCA; } public function setValueCA(?float $valueCA): self { $this->valueCA = $valueCA; return $this; } public function getValueBooster(): ?int { return $this->valueBooster; } public function setValueBooster(?int $valueBooster): self { $this->valueBooster = $valueBooster; return $this; } public function getLastYearCa(): ?float { return $this->lastYearCa; } public function setLastYearCa(?float $lastYearCa): self { $this->lastYearCa = $lastYearCa; return $this; } public function getLastYearBooster(): ?int { return $this->lastYearBooster; } public function setLastYearBooster(?int $lastYearBooster): self { $this->lastYearBooster = $lastYearBooster; return $this; }}