Total Complexity | 9 |
Total Lines | 71 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | #[ORM\Entity(repositoryClass: XApiActivityStateRepository::class)] |
||
9 | class XApiActivityState |
||
10 | { |
||
11 | #[ORM\Id] |
||
12 | #[ORM\GeneratedValue] |
||
13 | #[ORM\Column] |
||
14 | private ?int $id = null; |
||
15 | |||
16 | #[ORM\Column(length: 255)] |
||
17 | private ?string $stateId = null; |
||
18 | |||
19 | #[ORM\Column(length: 255)] |
||
20 | private ?string $activityId = null; |
||
21 | |||
22 | #[ORM\Column] |
||
23 | private array $agent = []; |
||
24 | |||
25 | #[ORM\Column] |
||
26 | private array $documentData = []; |
||
27 | |||
28 | public function getId(): ?int |
||
29 | { |
||
30 | return $this->id; |
||
31 | } |
||
32 | |||
33 | public function getStateId(): ?string |
||
34 | { |
||
35 | return $this->stateId; |
||
36 | } |
||
37 | |||
38 | public function setStateId(string $stateId): static |
||
39 | { |
||
40 | $this->stateId = $stateId; |
||
41 | |||
42 | return $this; |
||
43 | } |
||
44 | |||
45 | public function getActivityId(): ?string |
||
46 | { |
||
47 | return $this->activityId; |
||
48 | } |
||
49 | |||
50 | public function setActivityId(string $activityId): static |
||
51 | { |
||
52 | $this->activityId = $activityId; |
||
53 | |||
54 | return $this; |
||
55 | } |
||
56 | |||
57 | public function getAgent(): array |
||
60 | } |
||
61 | |||
62 | public function setAgent(array $agent): static |
||
63 | { |
||
64 | $this->agent = $agent; |
||
65 | |||
66 | return $this; |
||
67 | } |
||
68 | |||
69 | public function getDocumentData(): array |
||
72 | } |
||
73 | |||
74 | public function setDocumentData(array $documentData): static |
||
75 | { |
||
76 | $this->documentData = $documentData; |
||
79 | } |
||
80 | } |
||
81 |