1 | <?php |
||
10 | class CharAsset |
||
11 | { |
||
12 | /** |
||
13 | * @ORM\Id @ORM\GeneratedValue @ORM\Column(name="ID", type="bigint", options={"unsigned"=true}) |
||
14 | */ |
||
15 | private $id; |
||
16 | |||
17 | /** |
||
18 | * @ORM\Column(name="ownerID", type="bigint", options={"unsigned"=true}) |
||
19 | */ |
||
20 | private $ownerId; |
||
21 | |||
22 | /** |
||
23 | * @ORM\Column(name="itemID", type="bigint", options={"unsigned"=true}) |
||
24 | */ |
||
25 | private $itemId; |
||
26 | |||
27 | /** |
||
28 | * @ORM\Column(name="locationID", type="bigint", options={"unsigned"=true}) |
||
29 | */ |
||
30 | private $locationId; |
||
31 | |||
32 | /** |
||
33 | * @ORM\Column(name="typeID", type="bigint", options={"unsigned"=true}) |
||
34 | */ |
||
35 | private $typeId; |
||
36 | |||
37 | /** |
||
38 | * @ORM\Column(name="quantity", type="bigint") |
||
39 | */ |
||
40 | private $quantity; |
||
41 | |||
42 | /** |
||
43 | * @ORM\Column(name="rawQuantity", type="bigint", nullable=true) |
||
44 | */ |
||
45 | private $rawQuantity; |
||
46 | |||
47 | /** |
||
48 | * @ORM\Column(name="flag", type="integer") |
||
49 | */ |
||
50 | private $flag; |
||
51 | |||
52 | /** |
||
53 | * @ORM\Column(name="singleton", type="boolean") |
||
54 | */ |
||
55 | private $singleton; |
||
56 | |||
57 | /** |
||
58 | * @ORM\Column(name="lft", type="bigint", options={"unsigned"=true}) |
||
59 | */ |
||
60 | private $left; |
||
61 | |||
62 | /** |
||
63 | * @ORM\Column(name="rgt", type="bigint", options={"unsigned"=true}) |
||
64 | */ |
||
65 | private $right; |
||
66 | |||
67 | /** |
||
68 | * @ORM\Column(name="lvl", type="bigint", options={"unsigned"=true}) |
||
69 | */ |
||
70 | private $level; |
||
71 | |||
72 | |||
73 | /** |
||
74 | * Get id |
||
75 | * |
||
76 | * @return integer |
||
77 | */ |
||
78 | public function getId() |
||
82 | |||
83 | /** |
||
84 | * Set ownerId |
||
85 | * |
||
86 | * @param integer $ownerId |
||
87 | * @return CorpAsset |
||
88 | */ |
||
89 | public function setOwnerId($ownerId) |
||
90 | { |
||
91 | $this->ownerId = $ownerId; |
||
92 | |||
93 | return $this; |
||
94 | } |
||
95 | |||
96 | /** |
||
97 | * Get ownerId |
||
98 | * |
||
99 | * @return integer |
||
100 | */ |
||
101 | public function getOwnerId() |
||
105 | |||
106 | /** |
||
107 | * Set itemId |
||
108 | * |
||
109 | * @param integer $itemId |
||
110 | * @return CorpAsset |
||
111 | */ |
||
112 | public function setItemId($itemId) |
||
113 | { |
||
114 | $this->itemId = $itemId; |
||
115 | |||
116 | return $this; |
||
117 | } |
||
118 | |||
119 | /** |
||
120 | * Get itemId |
||
121 | * |
||
122 | * @return integer |
||
123 | */ |
||
124 | public function getItemId() |
||
128 | |||
129 | /** |
||
130 | * Set locationId |
||
131 | * |
||
132 | * @param integer $locationId |
||
133 | * @return CorpAsset |
||
134 | */ |
||
135 | public function setLocationId($locationId) |
||
136 | { |
||
137 | $this->locationId = $locationId; |
||
138 | |||
139 | return $this; |
||
140 | } |
||
141 | |||
142 | /** |
||
143 | * Get locationId |
||
144 | * |
||
145 | * @return integer |
||
146 | */ |
||
147 | public function getLocationId() |
||
151 | |||
152 | /** |
||
153 | * Set typeId |
||
154 | * |
||
155 | * @param integer $typeId |
||
156 | * @return CorpAsset |
||
157 | */ |
||
158 | public function setTypeId($typeId) |
||
159 | { |
||
160 | $this->typeId = $typeId; |
||
161 | |||
162 | return $this; |
||
163 | } |
||
164 | |||
165 | /** |
||
166 | * Get typeId |
||
167 | * |
||
168 | * @return integer |
||
169 | */ |
||
170 | public function getTypeId() |
||
174 | |||
175 | /** |
||
176 | * Set quantity |
||
177 | * |
||
178 | * @param integer $quantity |
||
179 | * @return CorpAsset |
||
180 | */ |
||
181 | public function setQuantity($quantity) |
||
182 | { |
||
183 | $this->quantity = $quantity; |
||
184 | |||
185 | return $this; |
||
186 | } |
||
187 | |||
188 | /** |
||
189 | * Get quantity |
||
190 | * |
||
191 | * @return integer |
||
192 | */ |
||
193 | public function getQuantity() |
||
197 | |||
198 | /** |
||
199 | * Set rawQuantity |
||
200 | * |
||
201 | * @param integer $rawQuantity |
||
202 | * @return CorpAsset |
||
203 | */ |
||
204 | public function setRawQuantity($rawQuantity) |
||
205 | { |
||
206 | $this->rawQuantity = $rawQuantity; |
||
207 | |||
208 | return $this; |
||
209 | } |
||
210 | |||
211 | /** |
||
212 | * Get rawQuantity |
||
213 | * |
||
214 | * @return integer |
||
215 | */ |
||
216 | public function getRawQuantity() |
||
220 | |||
221 | /** |
||
222 | * Set flag |
||
223 | * |
||
224 | * @param integer $flag |
||
225 | * @return CorpAsset |
||
226 | */ |
||
227 | public function setFlag($flag) |
||
228 | { |
||
229 | $this->flag = $flag; |
||
230 | |||
231 | return $this; |
||
232 | } |
||
233 | |||
234 | /** |
||
235 | * Get flag |
||
236 | * |
||
237 | * @return integer |
||
238 | */ |
||
239 | public function getFlag() |
||
243 | |||
244 | /** |
||
245 | * Set singleton |
||
246 | * |
||
247 | * @param boolean $singleton |
||
248 | * @return CorpAsset |
||
249 | */ |
||
250 | public function setSingleton($singleton) |
||
251 | { |
||
252 | $this->singleton = $singleton; |
||
253 | |||
254 | return $this; |
||
255 | } |
||
256 | |||
257 | /** |
||
258 | * Get singleton |
||
259 | * |
||
260 | * @return boolean |
||
261 | */ |
||
262 | public function isSingleton() |
||
266 | |||
267 | /** |
||
268 | * Set left |
||
269 | * |
||
270 | * @param integer $left |
||
271 | * @return CorpAsset |
||
272 | */ |
||
273 | public function setLeft($left) |
||
274 | { |
||
275 | $this->left = $left; |
||
276 | |||
277 | return $this; |
||
278 | } |
||
279 | |||
280 | /** |
||
281 | * Get left |
||
282 | * |
||
283 | * @return integer |
||
284 | */ |
||
285 | public function getLeft() |
||
289 | |||
290 | /** |
||
291 | * Set right |
||
292 | * |
||
293 | * @param integer $right |
||
294 | * @return CorpAsset |
||
295 | */ |
||
296 | public function setRight($right) |
||
297 | { |
||
298 | $this->right = $right; |
||
299 | |||
300 | return $this; |
||
301 | } |
||
302 | |||
303 | /** |
||
304 | * Get right |
||
305 | * |
||
306 | * @return integer |
||
307 | */ |
||
308 | public function getRight() |
||
312 | |||
313 | /** |
||
314 | * Set level |
||
315 | * |
||
316 | * @param integer $level |
||
317 | * @return CorpAsset |
||
318 | */ |
||
319 | public function setLevel($level) |
||
320 | { |
||
321 | $this->level = $level; |
||
322 | |||
323 | return $this; |
||
324 | } |
||
325 | |||
326 | /** |
||
327 | * Get level |
||
328 | * |
||
329 | * @return integer |
||
330 | */ |
||
331 | public function getLevel() |
||
335 | } |
||
336 |