This repository has been archived by the owner on Mar 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_ide_helper_models.php
429 lines (409 loc) · 19.2 KB
/
_ide_helper_models.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
<?php
// @formatter:off
/**
* A helper file for your Eloquent Models
* Copy the phpDocs from this file to the correct Model,
* And remove them from this file, to prevent double declarations.
*
* @author Barry vd. Heuvel <[email protected]>
*/
namespace App\Models{
/**
* Class Customer
*
* @property int $id
* @property string $name
* @property Collection|CustomerAddress[] $customer_addresses
* @property Collection|CustomerContact[] $customer_contacts
* @property Collection|CustomerDiscount[] $customer_discounts
* @property Collection|Order[] $orders
* @package App\Models
* @property-read int|null $customer_addresses_count
* @property-read int|null $customer_contacts_count
* @property-read int|null $customer_discounts_count
* @property-read int|null $orders_count
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Customer newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Customer newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Customer query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Customer whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Customer whereName($value)
*/
class Customer extends \Eloquent {}
}
namespace App\Models{
/**
* Class CustomerAddress
*
* @property int $id
* @property int $customer_id
* @property string $street
* @property string $number
* @property string $city
* @property string $state
* @property string $country
* @property string $zipcode
* @property Customer $customer
* @package App\Models
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerAddress newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerAddress newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerAddress query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerAddress whereCity($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerAddress whereCountry($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerAddress whereCustomerId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerAddress whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerAddress whereNumber($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerAddress whereState($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerAddress whereStreet($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerAddress whereZipcode($value)
*/
class CustomerAddress extends \Eloquent {}
}
namespace App\Models{
/**
* Class CustomerContact
*
* @property int $id
* @property int $customer_id
* @property string $name
* @property string $email
* @property string $phone
* @property string $jobtitle
* @property Customer $customer
* @package App\Models
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerContact newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerContact newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerContact query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerContact whereCustomerId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerContact whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerContact whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerContact whereJobtitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerContact whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerContact wherePhone($value)
*/
class CustomerContact extends \Eloquent {}
}
namespace App\Models{
/**
* Class CustomerDiscount
*
* @property int $customer_id
* @property int $year
* @property int $discount
* @property Customer $customer
* @package App\Models
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerDiscount newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerDiscount newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerDiscount query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerDiscount whereCustomerId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerDiscount whereDiscount($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CustomerDiscount whereYear($value)
*/
class CustomerDiscount extends \Eloquent {}
}
namespace App\Models{
/**
* Class Order
*
* @property int $id
* @property int $customer_id
* @property Carbon $date
* @property string $status
* @property Customer $customer
* @property Collection|OrderContainer[] $order_containers
* @property OrderInvoice $order_invoice
* @property Collection|OrderNote[] $order_notes
* @property Collection|Product[] $products
* @package App\Models
* @property int $customer_address_id
* @property-read \App\Models\CustomerAddress $customer_address
* @property-read mixed $customer_discount
* @property-read mixed $discount
* @property-read mixed $subtotal
* @property-read mixed $total
* @property-read int|null $order_containers_count
* @property-read int|null $order_notes_count
* @property-read int|null $products_count
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereCustomerAddressId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereCustomerId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereStatus($value)
*/
class Order extends \Eloquent {}
}
namespace App\Models{
/**
* Class OrderContainer
*
* @property int $order_id
* @property string $containercode
* @property Order $order
* @package App\Models
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderContainer newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderContainer newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderContainer query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderContainer whereContainercode($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderContainer whereOrderId($value)
*/
class OrderContainer extends \Eloquent {}
}
namespace App\Models{
/**
* Class OrderInvoice
*
* @property int $order_id
* @property bool $paid
* @property Order $order
* @package App\Models
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderInvoice newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderInvoice newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderInvoice query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderInvoice whereOrderId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderInvoice wherePaid($value)
*/
class OrderInvoice extends \Eloquent {}
}
namespace App\Models{
/**
* Class OrderNote
*
* @property int $id
* @property int $order_id
* @property string $notes
* @property Order $order
* @package App\Models
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderNote newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderNote newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderNote query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderNote whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderNote whereNotes($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderNote whereOrderId($value)
*/
class OrderNote extends \Eloquent {}
}
namespace App\Models{
/**
* Class OrderProduct
*
* @property int $id
* @property int $order_id
* @property int $product_id
* @property float $price
* @property int $quantity
* @property Order $order
* @property Product $product
* @property Collection|RobotQueue[] $robot_queues
* @package App\Models
* @property-read int|null $robot_queues_count
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderProduct newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderProduct newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderProduct query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderProduct whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderProduct whereOrderId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderProduct wherePrice($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderProduct whereProductId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\OrderProduct whereQuantity($value)
*/
class OrderProduct extends \Eloquent {}
}
namespace App\Models{
/**
* Class Product
*
* @property int $id
* @property string $name
* @property int $ordercode
* @property float $price
* @property string $short_description
* @property string $long_description
* @property string $active_substances
* @property string $location
* @property int $stock
* @property int $minimum_stock
* @property int $order_quantity
* @property float $packaging_length
* @property float $packaging_width
* @property float $packaging_heigth
* @property int $consumer_packages
* @property string $packaging_type
* @property Collection|Order[] $orders
* @property Collection|SupplierOrder[] $supplier_orders
* @property Collection|Supplier[] $suppliers
* @package App\Models
* @property-read int|null $orders_count
* @property-read int|null $supplier_orders_count
* @property-read int|null $suppliers_count
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product whereActiveSubstances($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product whereConsumerPackages($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product whereLocation($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product whereLongDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product whereMinimumStock($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product whereOrderQuantity($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product whereOrdercode($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product wherePackagingHeigth($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product wherePackagingLength($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product wherePackagingType($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product wherePackagingWidth($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product wherePrice($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product whereShortDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product whereStock($value)
*/
class Product extends \Eloquent {}
}
namespace App\Models{
/**
* Class Robot
*
* @property int $id
* @property string $corridor
* @property Collection|RobotQueue[] $robot_queues
* @package App\Models
* @property-read int|null $robot_queues_count
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Robot newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Robot newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Robot query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Robot whereCorridor($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Robot whereId($value)
*/
class Robot extends \Eloquent {}
}
namespace App\Models{
/**
* Class RobotQueue
*
* @property int $robot_id
* @property int $order_product_id
* @property Robot $robot
* @property OrderProduct $order_product
* @package App\Models
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\RobotQueue newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\RobotQueue newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\RobotQueue query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\RobotQueue whereOrderProductId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\RobotQueue whereRobotId($value)
*/
class RobotQueue extends \Eloquent {}
}
namespace App\Models{
/**
* Class Supplier
*
* @property int $id
* @property string $name
* @property string $street
* @property string $number
* @property string $city
* @property string $state
* @property string $country
* @property string $zipcode
* @property string $website
* @property Collection|SupplierContact[] $supplier_contacts
* @property Collection|SupplierOrder[] $supplier_orders
* @property Collection|Product[] $products
* @package App\Models
* @property-read int|null $products_count
* @property-read int|null $supplier_contacts_count
* @property-read int|null $supplier_orders_count
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Supplier newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Supplier newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Supplier query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Supplier whereCity($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Supplier whereCountry($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Supplier whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Supplier whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Supplier whereNumber($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Supplier whereState($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Supplier whereStreet($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Supplier whereWebsite($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Supplier whereZipcode($value)
*/
class Supplier extends \Eloquent {}
}
namespace App\Models{
/**
* Class SupplierContact
*
* @property int $id
* @property int $supplier_id
* @property string $name
* @property string $email
* @property string $phone
* @property string $jobtitle
* @property Supplier $supplier
* @package App\Models
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierContact newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierContact newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierContact query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierContact whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierContact whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierContact whereJobtitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierContact whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierContact wherePhone($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierContact whereSupplierId($value)
*/
class SupplierContact extends \Eloquent {}
}
namespace App\Models{
/**
* Class SupplierOrder
*
* @property int $id
* @property int $supplier_id
* @property int $product_id
* @property int $amount
* @property float $price
* @property Carbon $date
* @property Product $product
* @property Supplier $supplier
* @package App\Models
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierOrder newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierOrder newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierOrder query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierOrder whereAmount($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierOrder whereDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierOrder whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierOrder wherePrice($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierOrder whereProductId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierOrder whereSupplierId($value)
*/
class SupplierOrder extends \Eloquent {}
}
namespace App\Models{
/**
* Class SupplierProduct
*
* @property int $supplier_id
* @property int $product_id
* @property float $price
* @property Product $product
* @property Supplier $supplier
* @package App\Models
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierProduct newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierProduct newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierProduct query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierProduct wherePrice($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierProduct whereProductId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SupplierProduct whereSupplierId($value)
*/
class SupplierProduct extends \Eloquent {}
}
namespace App{
/**
* App\User
*
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
* @property-read int|null $notifications_count
* @method static \Illuminate\Database\Eloquent\Builder|\App\User newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\User newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\User query()
*/
class User extends \Eloquent {}
}