CorpBlueprint::getRuns()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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="corpBlueprint", indexes={
10
 *     @ORM\Index(name="owner", columns={"ownerID"})}, uniqueConstraints={
11
 *     @ORM\UniqueConstraint(name="entry_owner", columns={"itemId", "ownerId"})
12
 * })
13
 */
14
class CorpBlueprint
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="locationID", type="bigint", options={"unsigned"=true})
33
     */
34
    private $locationId;
35
36
    /**
37
     * @ORM\Column(name="typeID", type="bigint", options={"unsigned"=true})
38
     */
39
    private $typeId;
40
41
    /**
42
     * @ORM\Column(name="typeName", type="string")
43
     */
44
    private $typeName;
45
46
    /**
47
     * @ORM\Column(name="quantity", type="bigint")
48
     */
49
    private $quantity;
50
51
    /**
52
     * @ORM\Column(name="flag", type="integer")
53
     */
54
    private $flag;
55
56
    /**
57
     * @ORM\Column(name="timeEfficiency", type="integer", options={"unsigned"=true})
58
     */
59
    private $timeEfficiency;
60
61
    /**
62
     * @ORM\Column(name="materialEfficiency", type="integer", options={"unsigned"=true})
63
     */
64
    private $materialEfficiency;
65
66
    /**
67
     * @ORM\Column(name="runs", type="integer")
68
     */
69
    private $runs;
70
71
72
    /**
73
     * Get id
74
     *
75
     * @return integer
76
     */
77
    public function getId()
78
    {
79
        return $this->id;
80
    }
81
82
    /**
83
     * Set ownerId
84
     *
85
     * @param integer $ownerId
86
     * @return CorpBlueprint
87
     */
88
    public function setOwnerId($ownerId)
89
    {
90
        $this->ownerId = $ownerId;
91
    
92
        return $this;
93
    }
94
95
    /**
96
     * Get ownerId
97
     *
98
     * @return integer
99
     */
100
    public function getOwnerId()
101
    {
102
        return $this->ownerId;
103
    }
104
105
    /**
106
     * Set itemId
107
     *
108
     * @param integer $itemId
109
     * @return CorpBlueprint
110
     */
111
    public function setItemId($itemId)
112
    {
113
        $this->itemId = $itemId;
114
    
115
        return $this;
116
    }
117
118
    /**
119
     * Get itemId
120
     *
121
     * @return integer
122
     */
123
    public function getItemId()
124
    {
125
        return $this->itemId;
126
    }
127
128
    /**
129
     * Set locationId
130
     *
131
     * @param integer $locationId
132
     * @return CorpBlueprint
133
     */
134
    public function setLocationId($locationId)
135
    {
136
        $this->locationId = $locationId;
137
    
138
        return $this;
139
    }
140
141
    /**
142
     * Get locationId
143
     *
144
     * @return integer
145
     */
146
    public function getLocationId()
147
    {
148
        return $this->locationId;
149
    }
150
151
    /**
152
     * Set typeId
153
     *
154
     * @param integer $typeId
155
     * @return CorpBlueprint
156
     */
157
    public function setTypeId($typeId)
158
    {
159
        $this->typeId = $typeId;
160
    
161
        return $this;
162
    }
163
164
    /**
165
     * Get typeId
166
     *
167
     * @return integer
168
     */
169
    public function getTypeId()
170
    {
171
        return $this->typeId;
172
    }
173
174
    /**
175
     * Set typeName
176
     *
177
     * @param string $typeName
178
     * @return CorpBlueprint
179
     */
180
    public function setTypeName($typeName)
181
    {
182
        $this->typeName = $typeName;
183
    
184
        return $this;
185
    }
186
187
    /**
188
     * Get typeName
189
     *
190
     * @return string
191
     */
192
    public function getTypeName()
193
    {
194
        return $this->typeName;
195
    }
196
197
    /**
198
     * Set quantity
199
     *
200
     * @param integer $quantity
201
     * @return CorpBlueprint
202
     */
203
    public function setQuantity($quantity)
204
    {
205
        $this->quantity = $quantity;
206
    
207
        return $this;
208
    }
209
210
    /**
211
     * Get quantity
212
     *
213
     * @return integer
214
     */
215
    public function getQuantity()
216
    {
217
        return $this->quantity;
218
    }
219
220
    /**
221
     * Set flag
222
     *
223
     * @param integer $flag
224
     * @return CorpBlueprint
225
     */
226
    public function setFlag($flag)
227
    {
228
        $this->flag = $flag;
229
    
230
        return $this;
231
    }
232
233
    /**
234
     * Get flag
235
     *
236
     * @return integer
237
     */
238
    public function getFlag()
239
    {
240
        return $this->flag;
241
    }
242
243
    /**
244
     * Set timeEfficiency
245
     *
246
     * @param integer $timeEfficiency
247
     * @return CorpBlueprint
248
     */
249
    public function setTimeEfficiency($timeEfficiency)
250
    {
251
        $this->timeEfficiency = $timeEfficiency;
252
    
253
        return $this;
254
    }
255
256
    /**
257
     * Get timeEfficiency
258
     *
259
     * @return integer
260
     */
261
    public function getTimeEfficiency()
262
    {
263
        return $this->timeEfficiency;
264
    }
265
266
    /**
267
     * Set materialEfficiency
268
     *
269
     * @param integer $materialEfficiency
270
     * @return CorpBlueprint
271
     */
272
    public function setMaterialEfficiency($materialEfficiency)
273
    {
274
        $this->materialEfficiency = $materialEfficiency;
275
    
276
        return $this;
277
    }
278
279
    /**
280
     * Get materialEfficiency
281
     *
282
     * @return integer
283
     */
284
    public function getMaterialEfficiency()
285
    {
286
        return $this->materialEfficiency;
287
    }
288
289
    /**
290
     * Set runs
291
     *
292
     * @param integer $runs
293
     * @return CorpBlueprint
294
     */
295
    public function setRuns($runs)
296
    {
297
        $this->runs = $runs;
298
    
299
        return $this;
300
    }
301
302
    /**
303
     * Get runs
304
     *
305
     * @return integer
306
     */
307
    public function getRuns()
308
    {
309
        return $this->runs;
310
    }
311
}
312