|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace Tarioch\EveapiFetcherBundle\Entity; |
|
4
|
|
|
|
|
5
|
|
|
use Doctrine\ORM\Mapping as ORM; |
|
6
|
|
|
|
|
7
|
|
|
/** |
|
8
|
|
|
* @ORM\Entity |
|
9
|
|
|
* @ORM\Table(name="charPlanetaryRoute", indexes={ |
|
10
|
|
|
* @ORM\Index(name="owner", columns={"ownerID"})}, uniqueConstraints={ |
|
11
|
|
|
* @ORM\UniqueConstraint(name="entry_owner", columns={"routeId", "ownerId", "planetId"}) |
|
12
|
|
|
* }) |
|
13
|
|
|
*/ |
|
14
|
|
|
class CharPlanetaryRoute |
|
15
|
|
|
{ |
|
16
|
|
|
/** |
|
17
|
|
|
* @ORM\Id @ORM\GeneratedValue @ORM\Column(name="ID", type="bigint", options={"unsigned"=true}) |
|
18
|
|
|
*/ |
|
19
|
|
|
private $id; |
|
20
|
|
|
|
|
21
|
|
|
/** |
|
22
|
|
|
* @ORM\Column(name="ownerID", type="bigint", options={"unsigned"=true}) |
|
23
|
|
|
*/ |
|
24
|
|
|
private $ownerId; |
|
25
|
|
|
|
|
26
|
|
|
/** |
|
27
|
|
|
* @ORM\Column(name="planetID", type="bigint", options={"unsigned"=true}) |
|
28
|
|
|
*/ |
|
29
|
|
|
private $planetId; |
|
30
|
|
|
|
|
31
|
|
|
/** |
|
32
|
|
|
* @ORM\Column(name="routeID", type="bigint", options={"unsigned"=true}) |
|
33
|
|
|
*/ |
|
34
|
|
|
private $routeId; |
|
35
|
|
|
|
|
36
|
|
|
/** |
|
37
|
|
|
* @ORM\Column(name="sourcePinID", type="bigint", options={"unsigned"=true}) |
|
38
|
|
|
*/ |
|
39
|
|
|
private $sourcePinId; |
|
40
|
|
|
|
|
41
|
|
|
/** |
|
42
|
|
|
* @ORM\Column(name="destinationPinID", type="bigint", options={"unsigned"=true}) |
|
43
|
|
|
*/ |
|
44
|
|
|
private $destinationPinId; |
|
45
|
|
|
|
|
46
|
|
|
/** |
|
47
|
|
|
* @ORM\Column(name="contentTypeID", type="bigint", options={"unsigned"=true}) |
|
48
|
|
|
*/ |
|
49
|
|
|
private $contentTypeId; |
|
50
|
|
|
|
|
51
|
|
|
/** |
|
52
|
|
|
* @ORM\Column(name="contentTypeName", type="string") |
|
53
|
|
|
*/ |
|
54
|
|
|
private $contentTypeName; |
|
55
|
|
|
|
|
56
|
|
|
/** |
|
57
|
|
|
* @ORM\Column(name="quantity", type="bigint", options={"unsigned"=true}) |
|
58
|
|
|
*/ |
|
59
|
|
|
private $quantity; |
|
60
|
|
|
|
|
61
|
|
|
/** |
|
62
|
|
|
* @ORM\Column(name="waypoint1", type="bigint", options={"unsigned"=true}) |
|
63
|
|
|
*/ |
|
64
|
|
|
private $waypoint1; |
|
65
|
|
|
|
|
66
|
|
|
/** |
|
67
|
|
|
* @ORM\Column(name="waypoint2", type="bigint", options={"unsigned"=true}) |
|
68
|
|
|
*/ |
|
69
|
|
|
private $waypoint2; |
|
70
|
|
|
|
|
71
|
|
|
/** |
|
72
|
|
|
* @ORM\Column(name="waypoint3", type="bigint", options={"unsigned"=true}) |
|
73
|
|
|
*/ |
|
74
|
|
|
private $waypoint3; |
|
75
|
|
|
|
|
76
|
|
|
/** |
|
77
|
|
|
* @ORM\Column(name="waypoint4", type="bigint", options={"unsigned"=true}) |
|
78
|
|
|
*/ |
|
79
|
|
|
private $waypoint4; |
|
80
|
|
|
|
|
81
|
|
|
/** |
|
82
|
|
|
* @ORM\Column(name="waypoint5", type="bigint", options={"unsigned"=true}) |
|
83
|
|
|
*/ |
|
84
|
|
|
private $waypoint5; |
|
85
|
|
|
|
|
86
|
|
|
|
|
87
|
|
|
/** |
|
88
|
|
|
* Get id |
|
89
|
|
|
* |
|
90
|
|
|
* @return integer |
|
91
|
|
|
*/ |
|
92
|
|
|
public function getId() |
|
93
|
|
|
{ |
|
94
|
|
|
return $this->id; |
|
95
|
|
|
} |
|
96
|
|
|
|
|
97
|
|
|
/** |
|
98
|
|
|
* Set ownerId |
|
99
|
|
|
* |
|
100
|
|
|
* @param integer $ownerId |
|
101
|
|
|
* @return CharPlanetaryRoute |
|
102
|
|
|
*/ |
|
103
|
|
|
public function setOwnerId($ownerId) |
|
104
|
|
|
{ |
|
105
|
|
|
$this->ownerId = $ownerId; |
|
106
|
|
|
|
|
107
|
|
|
return $this; |
|
108
|
|
|
} |
|
109
|
|
|
|
|
110
|
|
|
/** |
|
111
|
|
|
* Get ownerId |
|
112
|
|
|
* |
|
113
|
|
|
* @return integer |
|
114
|
|
|
*/ |
|
115
|
|
|
public function getOwnerId() |
|
116
|
|
|
{ |
|
117
|
|
|
return $this->ownerId; |
|
118
|
|
|
} |
|
119
|
|
|
|
|
120
|
|
|
/** |
|
121
|
|
|
* Set planetId |
|
122
|
|
|
* |
|
123
|
|
|
* @param integer $planetId |
|
124
|
|
|
* @return CharPlanetaryColony |
|
125
|
|
|
*/ |
|
126
|
|
|
public function setPlanetId($planetId) |
|
127
|
|
|
{ |
|
128
|
|
|
$this->planetId = $planetId; |
|
129
|
|
|
|
|
130
|
|
|
return $this; |
|
131
|
|
|
} |
|
132
|
|
|
|
|
133
|
|
|
/** |
|
134
|
|
|
* Get planetId |
|
135
|
|
|
* |
|
136
|
|
|
* @return integer |
|
137
|
|
|
*/ |
|
138
|
|
|
public function getPlanetId() |
|
139
|
|
|
{ |
|
140
|
|
|
return $this->planetId; |
|
141
|
|
|
} |
|
142
|
|
|
|
|
143
|
|
|
/** |
|
144
|
|
|
* Set routeId |
|
145
|
|
|
* |
|
146
|
|
|
* @param integer $routeId |
|
147
|
|
|
* @return CharPlanetaryRoute |
|
148
|
|
|
*/ |
|
149
|
|
|
public function setRouteId($routeId) |
|
150
|
|
|
{ |
|
151
|
|
|
$this->routeId = $routeId; |
|
152
|
|
|
|
|
153
|
|
|
return $this; |
|
154
|
|
|
} |
|
155
|
|
|
|
|
156
|
|
|
/** |
|
157
|
|
|
* Get routeId |
|
158
|
|
|
* |
|
159
|
|
|
* @return integer |
|
160
|
|
|
*/ |
|
161
|
|
|
public function getRouteId() |
|
162
|
|
|
{ |
|
163
|
|
|
return $this->routeId; |
|
164
|
|
|
} |
|
165
|
|
|
|
|
166
|
|
|
/** |
|
167
|
|
|
* Set sourcePinId |
|
168
|
|
|
* |
|
169
|
|
|
* @param integer $sourcePinId |
|
170
|
|
|
* @return CharPlanetaryRoute |
|
171
|
|
|
*/ |
|
172
|
|
|
public function setSourcePinId($sourcePinId) |
|
173
|
|
|
{ |
|
174
|
|
|
$this->sourcePinId = $sourcePinId; |
|
175
|
|
|
|
|
176
|
|
|
return $this; |
|
177
|
|
|
} |
|
178
|
|
|
|
|
179
|
|
|
/** |
|
180
|
|
|
* Get sourcePinId |
|
181
|
|
|
* |
|
182
|
|
|
* @return integer |
|
183
|
|
|
*/ |
|
184
|
|
|
public function getSourcePinId() |
|
185
|
|
|
{ |
|
186
|
|
|
return $this->sourcePinId; |
|
187
|
|
|
} |
|
188
|
|
|
|
|
189
|
|
|
/** |
|
190
|
|
|
* Set destinationPinId |
|
191
|
|
|
* |
|
192
|
|
|
* @param integer $destinationPinId |
|
193
|
|
|
* @return CharPlanetaryRoute |
|
194
|
|
|
*/ |
|
195
|
|
|
public function setDestinationPinId($destinationPinId) |
|
196
|
|
|
{ |
|
197
|
|
|
$this->destinationPinId = $destinationPinId; |
|
198
|
|
|
|
|
199
|
|
|
return $this; |
|
200
|
|
|
} |
|
201
|
|
|
|
|
202
|
|
|
/** |
|
203
|
|
|
* Get destinationPinId |
|
204
|
|
|
* |
|
205
|
|
|
* @return integer |
|
206
|
|
|
*/ |
|
207
|
|
|
public function getDestinationPinId() |
|
208
|
|
|
{ |
|
209
|
|
|
return $this->destinationPinId; |
|
210
|
|
|
} |
|
211
|
|
|
|
|
212
|
|
|
/** |
|
213
|
|
|
* Set contentTypeId |
|
214
|
|
|
* |
|
215
|
|
|
* @param integer $contentTypeId |
|
216
|
|
|
* @return CharPlanetaryRoute |
|
217
|
|
|
*/ |
|
218
|
|
|
public function setContentTypeId($contentTypeId) |
|
219
|
|
|
{ |
|
220
|
|
|
$this->contentTypeId = $contentTypeId; |
|
221
|
|
|
|
|
222
|
|
|
return $this; |
|
223
|
|
|
} |
|
224
|
|
|
|
|
225
|
|
|
/** |
|
226
|
|
|
* Get contentTypeId |
|
227
|
|
|
* |
|
228
|
|
|
* @return integer |
|
229
|
|
|
*/ |
|
230
|
|
|
public function getContentTypeId() |
|
231
|
|
|
{ |
|
232
|
|
|
return $this->contentTypeId; |
|
233
|
|
|
} |
|
234
|
|
|
|
|
235
|
|
|
/** |
|
236
|
|
|
* Set contentTypeName |
|
237
|
|
|
* |
|
238
|
|
|
* @param string $contentTypeName |
|
239
|
|
|
* @return CharPlanetaryRoute |
|
240
|
|
|
*/ |
|
241
|
|
|
public function setContentTypeName($contentTypeName) |
|
242
|
|
|
{ |
|
243
|
|
|
$this->contentTypeName = $contentTypeName; |
|
244
|
|
|
|
|
245
|
|
|
return $this; |
|
246
|
|
|
} |
|
247
|
|
|
|
|
248
|
|
|
/** |
|
249
|
|
|
* Get contentTypeName |
|
250
|
|
|
* |
|
251
|
|
|
* @return string |
|
252
|
|
|
*/ |
|
253
|
|
|
public function getContentTypeName() |
|
254
|
|
|
{ |
|
255
|
|
|
return $this->contentTypeName; |
|
256
|
|
|
} |
|
257
|
|
|
|
|
258
|
|
|
/** |
|
259
|
|
|
* Set quantity |
|
260
|
|
|
* |
|
261
|
|
|
* @param integer $quantity |
|
262
|
|
|
* @return CharPlanetaryRoute |
|
263
|
|
|
*/ |
|
264
|
|
|
public function setQuantity($quantity) |
|
265
|
|
|
{ |
|
266
|
|
|
$this->quantity = $quantity; |
|
267
|
|
|
|
|
268
|
|
|
return $this; |
|
269
|
|
|
} |
|
270
|
|
|
|
|
271
|
|
|
/** |
|
272
|
|
|
* Get quantity |
|
273
|
|
|
* |
|
274
|
|
|
* @return integer |
|
275
|
|
|
*/ |
|
276
|
|
|
public function getQuantity() |
|
277
|
|
|
{ |
|
278
|
|
|
return $this->quantity; |
|
279
|
|
|
} |
|
280
|
|
|
|
|
281
|
|
|
/** |
|
282
|
|
|
* Set waypoint1 |
|
283
|
|
|
* |
|
284
|
|
|
* @param integer $waypoint1 |
|
285
|
|
|
* @return CharPlanetaryRoute |
|
286
|
|
|
*/ |
|
287
|
|
|
public function setWaypoint1($waypoint1) |
|
288
|
|
|
{ |
|
289
|
|
|
$this->waypoint1 = $waypoint1; |
|
290
|
|
|
|
|
291
|
|
|
return $this; |
|
292
|
|
|
} |
|
293
|
|
|
|
|
294
|
|
|
/** |
|
295
|
|
|
* Get waypoint1 |
|
296
|
|
|
* |
|
297
|
|
|
* @return integer |
|
298
|
|
|
*/ |
|
299
|
|
|
public function getWaypoint1() |
|
300
|
|
|
{ |
|
301
|
|
|
return $this->waypoint1; |
|
302
|
|
|
} |
|
303
|
|
|
|
|
304
|
|
|
/** |
|
305
|
|
|
* Set waypoint2 |
|
306
|
|
|
* |
|
307
|
|
|
* @param integer $waypoint2 |
|
308
|
|
|
* @return CharPlanetaryRoute |
|
309
|
|
|
*/ |
|
310
|
|
|
public function setWaypoint2($waypoint2) |
|
311
|
|
|
{ |
|
312
|
|
|
$this->waypoint2 = $waypoint2; |
|
313
|
|
|
|
|
314
|
|
|
return $this; |
|
315
|
|
|
} |
|
316
|
|
|
|
|
317
|
|
|
/** |
|
318
|
|
|
* Get waypoint2 |
|
319
|
|
|
* |
|
320
|
|
|
* @return integer |
|
321
|
|
|
*/ |
|
322
|
|
|
public function getWaypoint2() |
|
323
|
|
|
{ |
|
324
|
|
|
return $this->waypoint2; |
|
325
|
|
|
} |
|
326
|
|
|
|
|
327
|
|
|
/** |
|
328
|
|
|
* Set waypoint3 |
|
329
|
|
|
* |
|
330
|
|
|
* @param integer $waypoint3 |
|
331
|
|
|
* @return CharPlanetaryRoute |
|
332
|
|
|
*/ |
|
333
|
|
|
public function setWaypoint3($waypoint3) |
|
334
|
|
|
{ |
|
335
|
|
|
$this->waypoint3 = $waypoint3; |
|
336
|
|
|
|
|
337
|
|
|
return $this; |
|
338
|
|
|
} |
|
339
|
|
|
|
|
340
|
|
|
/** |
|
341
|
|
|
* Get waypoint3 |
|
342
|
|
|
* |
|
343
|
|
|
* @return integer |
|
344
|
|
|
*/ |
|
345
|
|
|
public function getWaypoint3() |
|
346
|
|
|
{ |
|
347
|
|
|
return $this->waypoint3; |
|
348
|
|
|
} |
|
349
|
|
|
|
|
350
|
|
|
/** |
|
351
|
|
|
* Set waypoint4 |
|
352
|
|
|
* |
|
353
|
|
|
* @param integer $waypoint4 |
|
354
|
|
|
* @return CharPlanetaryRoute |
|
355
|
|
|
*/ |
|
356
|
|
|
public function setWaypoint4($waypoint4) |
|
357
|
|
|
{ |
|
358
|
|
|
$this->waypoint4 = $waypoint4; |
|
359
|
|
|
|
|
360
|
|
|
return $this; |
|
361
|
|
|
} |
|
362
|
|
|
|
|
363
|
|
|
/** |
|
364
|
|
|
* Get waypoint4 |
|
365
|
|
|
* |
|
366
|
|
|
* @return integer |
|
367
|
|
|
*/ |
|
368
|
|
|
public function getWaypoint4() |
|
369
|
|
|
{ |
|
370
|
|
|
return $this->waypoint4; |
|
371
|
|
|
} |
|
372
|
|
|
|
|
373
|
|
|
/** |
|
374
|
|
|
* Set waypoint5 |
|
375
|
|
|
* |
|
376
|
|
|
* @param integer $waypoint5 |
|
377
|
|
|
* @return CharPlanetaryRoute |
|
378
|
|
|
*/ |
|
379
|
|
|
public function setWaypoint5($waypoint5) |
|
380
|
|
|
{ |
|
381
|
|
|
$this->waypoint5 = $waypoint5; |
|
382
|
|
|
|
|
383
|
|
|
return $this; |
|
384
|
|
|
} |
|
385
|
|
|
|
|
386
|
|
|
/** |
|
387
|
|
|
* Get waypoint5 |
|
388
|
|
|
* |
|
389
|
|
|
* @return integer |
|
390
|
|
|
*/ |
|
391
|
|
|
public function getWaypoint5() |
|
392
|
|
|
{ |
|
393
|
|
|
return $this->waypoint5; |
|
394
|
|
|
} |
|
395
|
|
|
} |
|
396
|
|
|
|