Test Setup Failed
Branch main (b06171)
by Jenny
25:39 queued 21:46
created

Descriptions   A

Complexity

Total Complexity 9

Size/Duplication

Total Lines 71
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 27
dl 0
loc 71
rs 10
c 1
b 0
f 0
wmc 9

9 Methods

Rating   Name   Duplication   Size   Complexity  
A getIndicator() 0 3 1
A getSource() 0 3 1
A setTarget() 0 5 1
A setSeriesDescription() 0 5 1
A getId() 0 3 1
A setIndicator() 0 5 1
A getSeriesDescription() 0 3 1
A setSource() 0 5 1
A getTarget() 0 3 1
1
<?php
2
3
namespace App\Entity\Goals;
4
5
use App\Repository\DescriptionsRepository;
6
use Doctrine\ORM\Mapping as ORM;
7
8
#[ORM\Entity(repositoryClass: DescriptionsRepository::class)]
9
class Descriptions
10
{
11
    #[ORM\Id]
12
    #[ORM\GeneratedValue]
13
    #[ORM\Column]
14
    private ?int $id = null;
15
16
    #[ORM\Column(length: 255)]
17
    private ?string $Target = null;
18
19
    #[ORM\Column(length: 255)]
20
    private ?string $Indicator = null;
21
22
    #[ORM\Column(length: 255)]
23
    private ?string $SeriesDescription = null;
24
25
    #[ORM\Column(length: 255)]
26
    private ?string $Source = null;
27
28
    public function getId(): ?int
29
    {
30
        return $this->id;
31
    }
32
33
    public function getTarget(): ?string
34
    {
35
        return $this->Target;
36
    }
37
38
    public function setTarget(string $Target): static
39
    {
40
        $this->Target = $Target;
41
42
        return $this;
43
    }
44
45
    public function getIndicator(): ?string
46
    {
47
        return $this->Indicator;
48
    }
49
50
    public function setIndicator(string $Indicator): static
51
    {
52
        $this->Indicator = $Indicator;
53
54
        return $this;
55
    }
56
57
    public function getSeriesDescription(): ?string
58
    {
59
        return $this->SeriesDescription;
60
    }
61
62
    public function setSeriesDescription(string $SeriesDescription): static
63
    {
64
        $this->SeriesDescription = $SeriesDescription;
65
66
        return $this;
67
    }
68
69
    public function getSource(): ?string
70
    {
71
        return $this->Source;
72
    }
73
74
    public function setSource(string $Source): static
75
    {
76
        $this->Source = $Source;
77
78
        return $this;
79
    }
80
}
81