for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Entity\Goals;
use App\Repository\TimeValueRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: TimeValueRepository::class)]
class TimeValue
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $target = null;
private ?string $indicator = null;
private ?int $year = null;
#[ORM\Column(type: Types::DECIMAL, precision: 10, scale: 5)]
private ?string $value = null;
public function getId(): ?int
return $this->id;
}
public function getTarget(): ?string
return $this->target;
public function setTarget(string $target): static
$this->target = $target;
return $this;
public function getIndicator(): ?string
return $this->indicator;
public function setIndicator(string $indicator): static
$this->indicator = $indicator;
public function getYear(): ?int
return $this->year;
public function setYear(int $year): static
$this->year = $year;
public function getValue(): ?string
return $this->value;
public function setValue(string $value): static
$this->value = $value;