| Total Complexity | 9 |
| Total Lines | 71 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | #[ORM\Entity(repositoryClass: TimeValueRepository::class)] |
||
| 10 | class TimeValue |
||
| 11 | { |
||
| 12 | #[ORM\Id] |
||
| 13 | #[ORM\GeneratedValue] |
||
| 14 | #[ORM\Column] |
||
| 15 | private ?int $id = null; |
||
| 16 | |||
| 17 | #[ORM\Column(length: 255)] |
||
| 18 | private ?string $target = null; |
||
| 19 | |||
| 20 | #[ORM\Column(length: 255)] |
||
| 21 | private ?string $indicator = null; |
||
| 22 | |||
| 23 | #[ORM\Column] |
||
| 24 | private ?int $year = null; |
||
| 25 | |||
| 26 | #[ORM\Column(type: Types::DECIMAL, precision: 10, scale: 5)] |
||
| 27 | private ?string $value = null; |
||
| 28 | |||
| 29 | public function getId(): ?int |
||
| 30 | { |
||
| 31 | return $this->id; |
||
| 32 | } |
||
| 33 | |||
| 34 | public function getTarget(): ?string |
||
| 35 | { |
||
| 36 | return $this->target; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function setTarget(string $target): static |
||
| 44 | } |
||
| 45 | |||
| 46 | public function getIndicator(): ?string |
||
| 47 | { |
||
| 48 | return $this->indicator; |
||
| 49 | } |
||
| 50 | |||
| 51 | public function setIndicator(string $indicator): static |
||
| 52 | { |
||
| 53 | $this->indicator = $indicator; |
||
| 54 | |||
| 55 | return $this; |
||
| 56 | } |
||
| 57 | |||
| 58 | public function getYear(): ?int |
||
| 59 | { |
||
| 60 | return $this->year; |
||
| 61 | } |
||
| 62 | |||
| 63 | public function setYear(int $year): static |
||
| 64 | { |
||
| 65 | $this->year = $year; |
||
| 66 | |||
| 67 | return $this; |
||
| 68 | } |
||
| 69 | |||
| 70 | public function getValue(): ?string |
||
| 71 | { |
||
| 72 | return $this->value; |
||
| 73 | } |
||
| 74 | |||
| 75 | public function setValue(string $value): static |
||
| 80 | } |
||
| 81 | } |
||
| 82 |