1 | <?php |
||
19 | class DependencyResourceModel implements ResourceModelInterface |
||
20 | { |
||
21 | /** |
||
22 | * Dependency ID. |
||
23 | * |
||
24 | * Dependency: Dependency ID |
||
25 | * |
||
26 | * @SA\Type("string") |
||
27 | * @SA\SerializedName("id") |
||
28 | * |
||
29 | * @var string|null |
||
30 | */ |
||
31 | protected $id; |
||
32 | |||
33 | /** |
||
34 | * Predecessor task ID. |
||
35 | * |
||
36 | * Dependency: Task ID |
||
37 | * |
||
38 | * @SA\Type("string") |
||
39 | * @SA\SerializedName("predecessorId") |
||
40 | * |
||
41 | * @var string|null |
||
42 | */ |
||
43 | protected $predecessorId; |
||
44 | |||
45 | /** |
||
46 | * Successor task ID. |
||
47 | * |
||
48 | * Dependency: Task ID |
||
49 | * |
||
50 | * @SA\Type("string") |
||
51 | * @SA\SerializedName("successorId") |
||
52 | * |
||
53 | * @var string|null |
||
54 | */ |
||
55 | protected $successorId; |
||
56 | |||
57 | /** |
||
58 | * Relation between Predecessor and Successor. |
||
59 | * |
||
60 | * Dependency relation type, Enum: StartToStart, StartToFinish, FinishToStart, FinishToFinish |
||
61 | * |
||
62 | * @see \Zibios\WrikePhpLibrary\Enum\DependencyRelationTypeEnum |
||
63 | * |
||
64 | * @SA\Type("string") |
||
65 | * @SA\SerializedName("relationType") |
||
66 | * |
||
67 | * @var string|null |
||
68 | */ |
||
69 | protected $relationType; |
||
70 | |||
71 | /** |
||
72 | * @return null|string |
||
73 | */ |
||
74 | 1 | public function getId() |
|
78 | |||
79 | /** |
||
80 | * @param null|string $id |
||
81 | * |
||
82 | * @return $this |
||
83 | */ |
||
84 | 1 | public function setId($id) |
|
90 | |||
91 | /** |
||
92 | * @return null|string |
||
93 | */ |
||
94 | 1 | public function getPredecessorId() |
|
98 | |||
99 | /** |
||
100 | * @param null|string $predecessorId |
||
101 | * |
||
102 | * @return $this |
||
103 | */ |
||
104 | 1 | public function setPredecessorId($predecessorId) |
|
110 | |||
111 | /** |
||
112 | * @return null|string |
||
113 | */ |
||
114 | 1 | public function getSuccessorId() |
|
118 | |||
119 | /** |
||
120 | * @param null|string $successorId |
||
121 | * |
||
122 | * @return $this |
||
123 | */ |
||
124 | 1 | public function setSuccessorId($successorId) |
|
130 | |||
131 | /** |
||
132 | * @return null|string |
||
133 | */ |
||
134 | 1 | public function getRelationType() |
|
138 | |||
139 | /** |
||
140 | * @param null|string $relationType |
||
141 | * |
||
142 | * @return $this |
||
143 | */ |
||
144 | 1 | public function setRelationType($relationType) |
|
150 | } |
||
151 |