-
Notifications
You must be signed in to change notification settings - Fork 0
/
_ide_helper_models.php
311 lines (299 loc) · 15.8 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
<?php
/**
* 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{
/**
* App\Book
*
* @property int $id
* @property string $isbn
* @property float $price
* @property string $title
* @property string $authors
* @property string $publisher
* @property string $description
* @property string $image
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property \Carbon\Carbon|null $deleted_at
* @property \App\Book\BookDimensions $dimensions
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Model\Sell\Order[] $orders
* @method static bool|null forceDelete()
* @method static \Illuminate\Database\Query\Builder|\App\Book onlyTrashed()
* @method static bool|null restore()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book whereAuthors($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book whereImage($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book whereIsbn($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book wherePrice($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book wherePublisher($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book whereTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\App\Book withTrashed()
* @method static \Illuminate\Database\Query\Builder|\App\Book withoutTrashed()
*/
class Book extends \Eloquent {}
}
namespace App{
/**
* App\User
*
* @property int $id
* @property string $firstname
* @property string $lastname
* @property string $email
* @property bool $email_verified
* @property string $password
* @property string $account
* @property int $rank
* @property string|null $photo
* @property string|null $remember_token
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property \Carbon\Carbon|null $deleted_at
* @property \App\Model\Accounts\Address $address
* @property-read \App\Model\Accounts\Registration\EmailVerificationToken $emailVerificationToken
* @property-read string $name
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Model\Sell\Order[] $orders
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Model\Sell\Order[] $ordersDone
* @method static bool|null forceDelete()
* @method static \Illuminate\Database\Query\Builder|\App\User onlyTrashed()
* @method static bool|null restore()
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereAccount($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereEmailVerified($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereFirstname($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereLastname($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User wherePassword($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User wherePhoto($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereRank($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereRememberToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\App\User withTrashed()
* @method static \Illuminate\Database\Query\Builder|\App\User withoutTrashed()
*/
class User extends \Eloquent {}
}
namespace App\Model\Sell{
/**
* App\Model\Sell\Order
*
* @property int $id
* @property int $user_id
* @property int $book_id
* @property string $book_tracking
* @property string|null $payment_tracking
* @property float|null $payment_amount
* @property int $status_id
* @property \Carbon\Carbon|null $received_at
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property \Carbon\Carbon|null $deleted_at
* @property-read \App\Book $book
* @property-read \App\Model\Shipping\Payment $paymentShipping
* @property-read \App\Model\Shipping\Label $shippingLabel
* @property-read \App\Model\Sell\OrderStatus $status
* @property-read \App\User $user
* @method static bool|null forceDelete()
* @method static \Illuminate\Database\Query\Builder|\App\Model\Sell\Order onlyTrashed()
* @method static bool|null restore()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Sell\Order whereBookId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Sell\Order whereBookTracking($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Sell\Order whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Sell\Order whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Sell\Order whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Sell\Order wherePaymentAmount($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Sell\Order wherePaymentTracking($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Sell\Order whereReceivedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Sell\Order whereStatusId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Sell\Order whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Sell\Order whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\App\Model\Sell\Order withTrashed()
* @method static \Illuminate\Database\Query\Builder|\App\Model\Sell\Order withoutTrashed()
*/
class Order extends \Eloquent {}
}
namespace App\Model\Sell{
/**
* App\Model\Sell\OrderStatus
*
* @property int $id
* @property string $code
* @property string $name
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Model\Sell\Order[] $currentOrders
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Sell\OrderStatus whereCode($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Sell\OrderStatus whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Sell\OrderStatus whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Sell\OrderStatus whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Sell\OrderStatus whereUpdatedAt($value)
*/
class OrderStatus extends \Eloquent {}
}
namespace App\Model\Shipping{
/**
* App\Model\Shipping\Label
*
* @property int $id
* @property int $order_id
* @property string $shippo_object_id
* @property string $label_url
* @property string $tracking_url
* @property string $tracking_number
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon|null $deleted_at
* @property-read \App\Model\Sell\Order $order
* @method static bool|null forceDelete()
* @method static \Illuminate\Database\Query\Builder|\App\Model\Shipping\Label onlyTrashed()
* @method static bool|null restore()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Shipping\Label whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Shipping\Label whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Shipping\Label whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Shipping\Label whereLabelUrl($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Shipping\Label whereOrderId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Shipping\Label whereShippoObjectId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Shipping\Label whereTrackingNumber($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Shipping\Label whereTrackingUrl($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Shipping\Label whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\App\Model\Shipping\Label withTrashed()
* @method static \Illuminate\Database\Query\Builder|\App\Model\Shipping\Label withoutTrashed()
*/
class Label extends \Eloquent {}
}
namespace App\Model\Shipping{
/**
* App\Model\Shipping\Payment
*
* @property int $id
* @property int $order_id
* @property string $shippo_object_id
* @property string $label_url
* @property string $tracking_url
* @property string $tracking_number
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon|null $deleted_at
* @property-read \App\Model\Sell\Order $order
* @method static bool|null forceDelete()
* @method static \Illuminate\Database\Query\Builder|\App\Model\Shipping\Payment onlyTrashed()
* @method static bool|null restore()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Shipping\Payment whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Shipping\Payment whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Shipping\Payment whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Shipping\Payment whereLabelUrl($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Shipping\Payment whereOrderId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Shipping\Payment whereShippoObjectId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Shipping\Payment whereTrackingNumber($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Shipping\Payment whereTrackingUrl($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Shipping\Payment whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\App\Model\Shipping\Payment withTrashed()
* @method static \Illuminate\Database\Query\Builder|\App\Model\Shipping\Payment withoutTrashed()
*/
class Payment extends \Eloquent {}
}
namespace App\Model\Accounts\Registration{
/**
* App\Model\Accounts\Registration\EmailVerificationToken
*
* @property int $id
* @property int $user_id
* @property string $token
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon|null $deleted_at
* @property-read \App\User $user
* @method static bool|null forceDelete()
* @method static \Illuminate\Database\Query\Builder|\App\Model\Accounts\Registration\EmailVerificationToken onlyTrashed()
* @method static bool|null restore()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Accounts\Registration\EmailVerificationToken whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Accounts\Registration\EmailVerificationToken whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Accounts\Registration\EmailVerificationToken whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Accounts\Registration\EmailVerificationToken whereToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Accounts\Registration\EmailVerificationToken whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Accounts\Registration\EmailVerificationToken whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\App\Model\Accounts\Registration\EmailVerificationToken withTrashed()
* @method static \Illuminate\Database\Query\Builder|\App\Model\Accounts\Registration\EmailVerificationToken withoutTrashed()
*/
class EmailVerificationToken extends \Eloquent {}
}
namespace App\Model\Accounts{
/**
* App\Model\Accounts\Address
*
* @property int $id
* @property int $user_id
* @property string $address
* @property string|null $address_2
* @property string $city
* @property string $state
* @property string $zip
* @property string $country
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property-read string $formatted
* @property-read \App\User $user
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Accounts\Address whereAddress($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Accounts\Address whereAddress2($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Accounts\Address whereCity($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Accounts\Address whereCountry($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Accounts\Address whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Accounts\Address whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Accounts\Address whereState($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Accounts\Address whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Accounts\Address whereUserId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Accounts\Address whereZip($value)
*/
class Address extends \Eloquent {}
}
namespace App\Model\Accounts{
/**
* App\Model\Accounts\Student
*
*/
class Student extends \Eloquent {}
}
namespace App\Book{
/**
* App\Book\BookDimensions
*
* @property int $id
* @property int $book_id
* @property float $height
* @property float $width
* @property float $thickness
* @property float|null $weight
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon|null $deleted_at
* @property-read \App\Book $book
* @method static bool|null forceDelete()
* @method static \Illuminate\Database\Query\Builder|\App\Book\BookDimensions onlyTrashed()
* @method static bool|null restore()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book\BookDimensions whereBookId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book\BookDimensions whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book\BookDimensions whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book\BookDimensions whereHeight($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book\BookDimensions whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book\BookDimensions whereThickness($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book\BookDimensions whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book\BookDimensions whereWeight($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Book\BookDimensions whereWidth($value)
* @method static \Illuminate\Database\Query\Builder|\App\Book\BookDimensions withTrashed()
* @method static \Illuminate\Database\Query\Builder|\App\Book\BookDimensions withoutTrashed()
*/
class BookDimensions extends \Eloquent {}
}