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="corpCustomsOffice", indexes={ |
10
|
|
|
* @ORM\Index(name="owner", columns={"ownerID"})}, uniqueConstraints={ |
11
|
|
|
* @ORM\UniqueConstraint(name="entry_owner", columns={"itemId", "ownerId"}) |
12
|
|
|
* }) |
13
|
|
|
*/ |
14
|
|
|
class CorpCustomsOffice |
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="itemID", type="bigint", options={"unsigned"=true}) |
28
|
|
|
*/ |
29
|
|
|
private $itemId; |
30
|
|
|
|
31
|
|
|
/** |
32
|
|
|
* @ORM\Column(name="solarSystemID", type="bigint", options={"unsigned"=true}) |
33
|
|
|
*/ |
34
|
|
|
private $solarSystemId; |
35
|
|
|
|
36
|
|
|
/** |
37
|
|
|
* @ORM\Column(name="solarSystemName", type="string") |
38
|
|
|
*/ |
39
|
|
|
private $solarSystemName; |
40
|
|
|
|
41
|
|
|
/** |
42
|
|
|
* @ORM\Column(name="reinforceHour", type="integer", options={"unsigned"=true}) |
43
|
|
|
*/ |
44
|
|
|
private $reinforceHour; |
45
|
|
|
|
46
|
|
|
/** |
47
|
|
|
* @ORM\Column(name="allowAlliance", type="boolean") |
48
|
|
|
*/ |
49
|
|
|
private $allowAlliance; |
50
|
|
|
|
51
|
|
|
/** |
52
|
|
|
* @ORM\Column(name="allowStandings", type="boolean") |
53
|
|
|
*/ |
54
|
|
|
private $allowStandings; |
55
|
|
|
|
56
|
|
|
/** |
57
|
|
|
* @ORM\Column(name="standingLevel", type="decimal", precision=17, scale=2) |
58
|
|
|
*/ |
59
|
|
|
private $standingLevel; |
60
|
|
|
|
61
|
|
|
/** |
62
|
|
|
* @ORM\Column(name="taxRateAlliance", type="decimal", precision=17, scale=2) |
63
|
|
|
*/ |
64
|
|
|
private $taxRateAlliance; |
65
|
|
|
|
66
|
|
|
/** |
67
|
|
|
* @ORM\Column(name="taxRateCorp", type="decimal", precision=17, scale=2) |
68
|
|
|
*/ |
69
|
|
|
private $taxRateCorp; |
70
|
|
|
|
71
|
|
|
/** |
72
|
|
|
* @ORM\Column(name="taxRateStandingHigh", type="decimal", precision=17, scale=2) |
73
|
|
|
*/ |
74
|
|
|
private $taxRateStandingHigh; |
75
|
|
|
|
76
|
|
|
/** |
77
|
|
|
* @ORM\Column(name="taxRateStandingGood", type="decimal", precision=17, scale=2) |
78
|
|
|
*/ |
79
|
|
|
private $taxRateStandingGood; |
80
|
|
|
|
81
|
|
|
/** |
82
|
|
|
* @ORM\Column(name="taxRateStandingNeutral", type="decimal", precision=17, scale=2) |
83
|
|
|
*/ |
84
|
|
|
private $taxRateStandingNeutral; |
85
|
|
|
|
86
|
|
|
/** |
87
|
|
|
* @ORM\Column(name="taxRateStandingBad", type="decimal", precision=17, scale=2) |
88
|
|
|
*/ |
89
|
|
|
private $taxRateStandingBad; |
90
|
|
|
|
91
|
|
|
/** |
92
|
|
|
* @ORM\Column(name="taxRateStandingHorrible", type="decimal", precision=17, scale=2) |
93
|
|
|
*/ |
94
|
|
|
private $taxRateStandingHorrible; |
95
|
|
|
|
96
|
|
|
/** |
97
|
|
|
* Get id |
98
|
|
|
* |
99
|
|
|
* @return integer |
100
|
|
|
*/ |
101
|
|
|
public function getId() |
102
|
|
|
{ |
103
|
|
|
return $this->id; |
104
|
|
|
} |
105
|
|
|
|
106
|
|
|
/** |
107
|
|
|
* Set ownerId |
108
|
|
|
* |
109
|
|
|
* @param integer $ownerId |
110
|
|
|
* @return CorpCustomsOffice |
111
|
|
|
*/ |
112
|
|
|
public function setOwnerId($ownerId) |
113
|
|
|
{ |
114
|
|
|
$this->ownerId = $ownerId; |
115
|
|
|
|
116
|
|
|
return $this; |
117
|
|
|
} |
118
|
|
|
|
119
|
|
|
/** |
120
|
|
|
* Get ownerId |
121
|
|
|
* |
122
|
|
|
* @return integer |
123
|
|
|
*/ |
124
|
|
|
public function getOwnerId() |
125
|
|
|
{ |
126
|
|
|
return $this->ownerId; |
127
|
|
|
} |
128
|
|
|
|
129
|
|
|
/** |
130
|
|
|
* Set itemId |
131
|
|
|
* |
132
|
|
|
* @param integer $itemId |
133
|
|
|
* @return CorpCustomsOffice |
134
|
|
|
*/ |
135
|
|
|
public function setItemId($itemId) |
136
|
|
|
{ |
137
|
|
|
$this->itemId = $itemId; |
138
|
|
|
|
139
|
|
|
return $this; |
140
|
|
|
} |
141
|
|
|
|
142
|
|
|
/** |
143
|
|
|
* Get itemId |
144
|
|
|
* |
145
|
|
|
* @return integer |
146
|
|
|
*/ |
147
|
|
|
public function getItemId() |
148
|
|
|
{ |
149
|
|
|
return $this->itemId; |
150
|
|
|
} |
151
|
|
|
|
152
|
|
|
/** |
153
|
|
|
* Set solarSystemId |
154
|
|
|
* |
155
|
|
|
* @param integer $solarSystemId |
156
|
|
|
* @return CorpCustomsOffice |
157
|
|
|
*/ |
158
|
|
|
public function setSolarSystemId($solarSystemId) |
159
|
|
|
{ |
160
|
|
|
$this->solarSystemId = $solarSystemId; |
161
|
|
|
|
162
|
|
|
return $this; |
163
|
|
|
} |
164
|
|
|
|
165
|
|
|
/** |
166
|
|
|
* Get solarSystemId |
167
|
|
|
* |
168
|
|
|
* @return integer |
169
|
|
|
*/ |
170
|
|
|
public function getSolarSystemId() |
171
|
|
|
{ |
172
|
|
|
return $this->solarSystemId; |
173
|
|
|
} |
174
|
|
|
|
175
|
|
|
/** |
176
|
|
|
* Set solarSystemName |
177
|
|
|
* |
178
|
|
|
* @param string $solarSystemName |
179
|
|
|
* @return CorpCustomsOffice |
180
|
|
|
*/ |
181
|
|
|
public function setSolarSystemName($solarSystemName) |
182
|
|
|
{ |
183
|
|
|
$this->solarSystemName = $solarSystemName; |
184
|
|
|
|
185
|
|
|
return $this; |
186
|
|
|
} |
187
|
|
|
|
188
|
|
|
/** |
189
|
|
|
* Get solarSystemName |
190
|
|
|
* |
191
|
|
|
* @return string |
192
|
|
|
*/ |
193
|
|
|
public function getSolarSystemName() |
194
|
|
|
{ |
195
|
|
|
return $this->solarSystemName; |
196
|
|
|
} |
197
|
|
|
|
198
|
|
|
/** |
199
|
|
|
* Set reinforceHour |
200
|
|
|
* |
201
|
|
|
* @param integer $reinforceHour |
202
|
|
|
* @return CorpCustomsOffice |
203
|
|
|
*/ |
204
|
|
|
public function setReinforceHour($reinforceHour) |
205
|
|
|
{ |
206
|
|
|
$this->reinforceHour = $reinforceHour; |
207
|
|
|
|
208
|
|
|
return $this; |
209
|
|
|
} |
210
|
|
|
|
211
|
|
|
/** |
212
|
|
|
* Get reinforceHour |
213
|
|
|
* |
214
|
|
|
* @return integer |
215
|
|
|
*/ |
216
|
|
|
public function getReinforceHour() |
217
|
|
|
{ |
218
|
|
|
return $this->reinforceHour; |
219
|
|
|
} |
220
|
|
|
|
221
|
|
|
/** |
222
|
|
|
* Set allowAlliance |
223
|
|
|
* |
224
|
|
|
* @param boolean $allowAlliance |
225
|
|
|
* @return CorpCustomsOffice |
226
|
|
|
*/ |
227
|
|
|
public function setAllowAlliance($allowAlliance) |
228
|
|
|
{ |
229
|
|
|
$this->allowAlliance = $allowAlliance; |
230
|
|
|
|
231
|
|
|
return $this; |
232
|
|
|
} |
233
|
|
|
|
234
|
|
|
/** |
235
|
|
|
* Get allowAlliance |
236
|
|
|
* |
237
|
|
|
* @return boolean |
238
|
|
|
*/ |
239
|
|
|
public function isAllowAlliance() |
240
|
|
|
{ |
241
|
|
|
return $this->allowAlliance; |
242
|
|
|
} |
243
|
|
|
|
244
|
|
|
/** |
245
|
|
|
* Set allowStandings |
246
|
|
|
* |
247
|
|
|
* @param boolean $allowStandings |
248
|
|
|
* @return CorpCustomsOffice |
249
|
|
|
*/ |
250
|
|
|
public function setAllowStandings($allowStandings) |
251
|
|
|
{ |
252
|
|
|
$this->allowStandings = $allowStandings; |
253
|
|
|
|
254
|
|
|
return $this; |
255
|
|
|
} |
256
|
|
|
|
257
|
|
|
/** |
258
|
|
|
* Get allowStandings |
259
|
|
|
* |
260
|
|
|
* @return boolean |
261
|
|
|
*/ |
262
|
|
|
public function isAllowStandings() |
263
|
|
|
{ |
264
|
|
|
return $this->allowStandings; |
265
|
|
|
} |
266
|
|
|
|
267
|
|
|
/** |
268
|
|
|
* Set standingLevel |
269
|
|
|
* |
270
|
|
|
* @param string $standingLevel |
271
|
|
|
* @return CorpCustomsOffice |
272
|
|
|
*/ |
273
|
|
|
public function setStandingLevel($standingLevel) |
274
|
|
|
{ |
275
|
|
|
$this->standingLevel = $standingLevel; |
276
|
|
|
|
277
|
|
|
return $this; |
278
|
|
|
} |
279
|
|
|
|
280
|
|
|
/** |
281
|
|
|
* Get standingLevel |
282
|
|
|
* |
283
|
|
|
* @return string |
284
|
|
|
*/ |
285
|
|
|
public function getStandingLevel() |
286
|
|
|
{ |
287
|
|
|
return $this->standingLevel; |
288
|
|
|
} |
289
|
|
|
|
290
|
|
|
/** |
291
|
|
|
* Set taxRateAlliance |
292
|
|
|
* |
293
|
|
|
* @param string $taxRateAlliance |
294
|
|
|
* @return CorpCustomsOffice |
295
|
|
|
*/ |
296
|
|
|
public function setTaxRateAlliance($taxRateAlliance) |
297
|
|
|
{ |
298
|
|
|
$this->taxRateAlliance = $taxRateAlliance; |
299
|
|
|
|
300
|
|
|
return $this; |
301
|
|
|
} |
302
|
|
|
|
303
|
|
|
/** |
304
|
|
|
* Get taxRateAlliance |
305
|
|
|
* |
306
|
|
|
* @return string |
307
|
|
|
*/ |
308
|
|
|
public function getTaxRateAlliance() |
309
|
|
|
{ |
310
|
|
|
return $this->taxRateAlliance; |
311
|
|
|
} |
312
|
|
|
|
313
|
|
|
/** |
314
|
|
|
* Set taxRateCorp |
315
|
|
|
* |
316
|
|
|
* @param string $taxRateCorp |
317
|
|
|
* @return CorpCustomsOffice |
318
|
|
|
*/ |
319
|
|
|
public function setTaxRateCorp($taxRateCorp) |
320
|
|
|
{ |
321
|
|
|
$this->taxRateCorp = $taxRateCorp; |
322
|
|
|
|
323
|
|
|
return $this; |
324
|
|
|
} |
325
|
|
|
|
326
|
|
|
/** |
327
|
|
|
* Get taxRateCorp |
328
|
|
|
* |
329
|
|
|
* @return string |
330
|
|
|
*/ |
331
|
|
|
public function getTaxRateCorp() |
332
|
|
|
{ |
333
|
|
|
return $this->taxRateCorp; |
334
|
|
|
} |
335
|
|
|
|
336
|
|
|
/** |
337
|
|
|
* Set taxRateStandingHigh |
338
|
|
|
* |
339
|
|
|
* @param string $taxRateStandingHigh |
340
|
|
|
* @return CorpCustomsOffice |
341
|
|
|
*/ |
342
|
|
|
public function setTaxRateStandingHigh($taxRateStandingHigh) |
343
|
|
|
{ |
344
|
|
|
$this->taxRateStandingHigh = $taxRateStandingHigh; |
345
|
|
|
|
346
|
|
|
return $this; |
347
|
|
|
} |
348
|
|
|
|
349
|
|
|
/** |
350
|
|
|
* Get taxRateStandingHigh |
351
|
|
|
* |
352
|
|
|
* @return string |
353
|
|
|
*/ |
354
|
|
|
public function getTaxRateStandingHigh() |
355
|
|
|
{ |
356
|
|
|
return $this->taxRateStandingHigh; |
357
|
|
|
} |
358
|
|
|
|
359
|
|
|
/** |
360
|
|
|
* Set taxRateStandingGood |
361
|
|
|
* |
362
|
|
|
* @param string $taxRateStandingGood |
363
|
|
|
* @return CorpCustomsOffice |
364
|
|
|
*/ |
365
|
|
|
public function setTaxRateStandingGood($taxRateStandingGood) |
366
|
|
|
{ |
367
|
|
|
$this->taxRateStandingGood = $taxRateStandingGood; |
368
|
|
|
|
369
|
|
|
return $this; |
370
|
|
|
} |
371
|
|
|
|
372
|
|
|
/** |
373
|
|
|
* Get taxRateStandingGood |
374
|
|
|
* |
375
|
|
|
* @return string |
376
|
|
|
*/ |
377
|
|
|
public function getTaxRateStandingGood() |
378
|
|
|
{ |
379
|
|
|
return $this->taxRateStandingGood; |
380
|
|
|
} |
381
|
|
|
|
382
|
|
|
/** |
383
|
|
|
* Set taxRateStandingNeutral |
384
|
|
|
* |
385
|
|
|
* @param string $taxRateStandingNeutral |
386
|
|
|
* @return CorpCustomsOffice |
387
|
|
|
*/ |
388
|
|
|
public function setTaxRateStandingNeutral($taxRateStandingNeutral) |
389
|
|
|
{ |
390
|
|
|
$this->taxRateStandingNeutral = $taxRateStandingNeutral; |
391
|
|
|
|
392
|
|
|
return $this; |
393
|
|
|
} |
394
|
|
|
|
395
|
|
|
/** |
396
|
|
|
* Get taxRateStandingNeutral |
397
|
|
|
* |
398
|
|
|
* @return string |
399
|
|
|
*/ |
400
|
|
|
public function getTaxRateStandingNeutral() |
401
|
|
|
{ |
402
|
|
|
return $this->taxRateStandingNeutral; |
403
|
|
|
} |
404
|
|
|
|
405
|
|
|
/** |
406
|
|
|
* Set taxRateStandingBad |
407
|
|
|
* |
408
|
|
|
* @param string $taxRateStandingBad |
409
|
|
|
* @return CorpCustomsOffice |
410
|
|
|
*/ |
411
|
|
|
public function setTaxRateStandingBad($taxRateStandingBad) |
412
|
|
|
{ |
413
|
|
|
$this->taxRateStandingBad = $taxRateStandingBad; |
414
|
|
|
|
415
|
|
|
return $this; |
416
|
|
|
} |
417
|
|
|
|
418
|
|
|
/** |
419
|
|
|
* Get taxRateStandingBad |
420
|
|
|
* |
421
|
|
|
* @return string |
422
|
|
|
*/ |
423
|
|
|
public function getTaxRateStandingBad() |
424
|
|
|
{ |
425
|
|
|
return $this->taxRateStandingBad; |
426
|
|
|
} |
427
|
|
|
|
428
|
|
|
/** |
429
|
|
|
* Set taxRateStandingHorrible |
430
|
|
|
* |
431
|
|
|
* @param string $taxRateStandingHorrible |
432
|
|
|
* @return CorpCustomsOffice |
433
|
|
|
*/ |
434
|
|
|
public function setTaxRateStandingHorrible($taxRateStandingHorrible) |
435
|
|
|
{ |
436
|
|
|
$this->taxRateStandingHorrible = $taxRateStandingHorrible; |
437
|
|
|
|
438
|
|
|
return $this; |
439
|
|
|
} |
440
|
|
|
|
441
|
|
|
/** |
442
|
|
|
* Get taxRateStandingHorrible |
443
|
|
|
* |
444
|
|
|
* @return string |
445
|
|
|
*/ |
446
|
|
|
public function getTaxRateStandingHorrible() |
447
|
|
|
{ |
448
|
|
|
return $this->taxRateStandingHorrible; |
449
|
|
|
} |
450
|
|
|
} |
451
|
|
|
|