| Total Complexity | 8 |
| Total Lines | 63 |
| Duplicated Lines | 0 % |
| Coverage | 90% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | #[ORM\Entity(repositoryClass: ResponseRepository::class)] |
||
| 10 | class Response |
||
| 11 | { |
||
| 12 | #[ORM\Id] |
||
| 13 | #[ORM\GeneratedValue(strategy: "NONE")] |
||
| 14 | #[ORM\Column] |
||
| 15 | private $id; |
||
| 16 | |||
| 17 | #[ORM\Column(type: Types::INTEGER)] |
||
| 18 | private ?int $actionId; |
||
| 19 | |||
| 20 | #[ORM\Column(length: 255)] |
||
| 21 | private ?string $type = null; |
||
| 22 | |||
| 23 | #[ORM\Column] |
||
| 24 | private ?int $locationId = null; |
||
| 25 | |||
| 26 | public function getId(): ?int |
||
| 27 | { |
||
| 28 | return $this->id; |
||
| 29 | } |
||
| 30 | |||
| 31 | 1 | public function setId(int $id): self |
|
| 32 | { |
||
| 33 | 1 | $this->id = $id; |
|
| 34 | |||
| 35 | 1 | return $this; |
|
| 36 | } |
||
| 37 | |||
| 38 | 1 | public function getActionId(): ?int |
|
| 39 | { |
||
| 40 | 1 | return $this->actionId; |
|
| 41 | } |
||
| 42 | |||
| 43 | 1 | public function setActionId(int $actionId): self |
|
| 48 | } |
||
| 49 | |||
| 50 | 1 | public function getType(): ?string |
|
| 53 | } |
||
| 54 | |||
| 55 | 1 | public function setType(string $type): self |
|
| 60 | } |
||
| 61 | |||
| 62 | 1 | public function getLocationId(): ?int |
|
| 65 | } |
||
| 66 | |||
| 67 | 1 | public function setLocationId(int $locationId): self |
|
| 74 |