CorpStarbase::getMoonId()   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 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace Tarioch\EveapiFetcherBundle\Entity;
3
4
use Doctrine\ORM\Mapping as ORM;
5
6
/**
7
 * @ORM\Entity
8
 * @ORM\Table(name="corpStarbase")
9
 */
10
class CorpStarbase
11
{
12
    /**
13
     * @ORM\Id @ORM\Column(name="itemID", type="bigint", options={"unsigned"=true})
14
     */
15
    private $itemId;
16
17
    /**
18
     * @ORM\Column(name="ownerID", type="bigint", options={"unsigned"=true})
19
     */
20
    private $ownerId;
21
22
    /**
23
     * @ORM\Column(name="typeID", type="bigint", options={"unsigned"=true})
24
     */
25
    private $typeId;
26
27
    /**
28
     * @ORM\Column(name="locationID", type="bigint", options={"unsigned"=true})
29
     */
30
    private $locationId;
31
32
    /**
33
     * @ORM\Column(name="moonID", type="bigint", options={"unsigned"=true})
34
     */
35
    private $moonId;
36
37
    /**
38
     * @ORM\Column(name="state", type="integer", options={"unsigned"=true})
39
     */
40
    private $state;
41
42
    /**
43
     * @ORM\Column(name="stateTimestamp", type="datetime")
44
     */
45
    private $stateTimestamp;
46
47
    /**
48
     * @ORM\Column(name="onlineTimestamp", type="datetime")
49
     */
50
    private $onlineTimestamp;
51
52
    /**
53
     * @ORM\Column(name="standingOwnerID", type="bigint", options={"unsigned"=true})
54
     */
55
    private $standingOwnerId;
56
57
    public function __construct($itemId)
58
    {
59
        $this->itemId = $itemId;
60
    }
61
62
    /**
63
     * Get itemId
64
     *
65
     * @return integer
66
     */
67
    public function getItemId()
68
    {
69
        return $this->itemId;
70
    }
71
72
    /**
73
     * Set ownerId
74
     *
75
     * @param integer $ownerId
76
     * @return CorpStarbase
77
     */
78
    public function setOwnerId($ownerId)
79
    {
80
        $this->ownerId = $ownerId;
81
82
        return $this;
83
    }
84
85
    /**
86
     * Get ownerId
87
     *
88
     * @return integer
89
     */
90
    public function getOwnerId()
91
    {
92
        return $this->ownerId;
93
    }
94
95
    /**
96
     * Set typeId
97
     *
98
     * @param integer $typeId
99
     * @return CorpStarbase
100
     */
101
    public function setTypeId($typeId)
102
    {
103
        $this->typeId = $typeId;
104
105
        return $this;
106
    }
107
108
    /**
109
     * Get typeId
110
     *
111
     * @return integer
112
     */
113
    public function getTypeId()
114
    {
115
        return $this->typeId;
116
    }
117
118
    /**
119
     * Set locationId
120
     *
121
     * @param integer $locationId
122
     * @return CorpStarbase
123
     */
124
    public function setLocationId($locationId)
125
    {
126
        $this->locationId = $locationId;
127
128
        return $this;
129
    }
130
131
    /**
132
     * Get locationId
133
     *
134
     * @return integer
135
     */
136
    public function getLocationId()
137
    {
138
        return $this->locationId;
139
    }
140
141
    /**
142
     * Set moonId
143
     *
144
     * @param integer $moonId
145
     * @return CorpStarbase
146
     */
147
    public function setMoonId($moonId)
148
    {
149
        $this->moonId = $moonId;
150
151
        return $this;
152
    }
153
154
    /**
155
     * Get moonId
156
     *
157
     * @return integer
158
     */
159
    public function getMoonId()
160
    {
161
        return $this->moonId;
162
    }
163
164
    /**
165
     * Set state
166
     *
167
     * @param integer $state
168
     * @return CorpStarbase
169
     */
170
    public function setState($state)
171
    {
172
        $this->state = $state;
173
174
        return $this;
175
    }
176
177
    /**
178
     * Get state
179
     *
180
     * @return integer
181
     */
182
    public function getState()
183
    {
184
        return $this->state;
185
    }
186
187
    /**
188
     * Set stateTimestamp
189
     *
190
     * @param \DateTime $stateTimestamp
191
     * @return CorpStarbase
192
     */
193
    public function setStateTimestamp($stateTimestamp)
194
    {
195
        $this->stateTimestamp = $stateTimestamp;
196
197
        return $this;
198
    }
199
200
    /**
201
     * Get stateTimestamp
202
     *
203
     * @return \DateTime
204
     */
205
    public function getStateTimestamp()
206
    {
207
        return $this->stateTimestamp;
208
    }
209
210
    /**
211
     * Set onlineTimestamp
212
     *
213
     * @param \DateTime $onlineTimestamp
214
     * @return CorpStarbase
215
     */
216
    public function setOnlineTimestamp($onlineTimestamp)
217
    {
218
        $this->onlineTimestamp = $onlineTimestamp;
219
220
        return $this;
221
    }
222
223
    /**
224
     * Get onlineTimestamp
225
     *
226
     * @return \DateTime
227
     */
228
    public function getOnlineTimestamp()
229
    {
230
        return $this->onlineTimestamp;
231
    }
232
233
    /**
234
     * Set standingOwnerId
235
     *
236
     * @param integer $standingOwnerId
237
     * @return CorpStarbase
238
     */
239
    public function setStandingOwnerId($standingOwnerId)
240
    {
241
        $this->standingOwnerId = $standingOwnerId;
242
243
        return $this;
244
    }
245
246
    /**
247
     * Get standingOwnerId
248
     *
249
     * @return integer
250
     */
251
    public function getStandingOwnerId()
252
    {
253
        return $this->standingOwnerId;
254
    }
255
}
256