forked from voten-co/voten
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_ide_helper_models.php
More file actions
724 lines (702 loc) · 34.1 KB
/
Copy path_ide_helper_models.php
File metadata and controls
724 lines (702 loc) · 34.1 KB
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
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
<?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 <barryvdh@gmail.com>
*/
namespace App{
/**
* App\Activity.
*
* @property int $id
* @property int $subject_id
* @property string $subject_type
* @property string $name
* @property int $user_id
* @property string|null $ip_address
* @property string $user_agent
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property string|null $country
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\Activity whereCountry($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Activity whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Activity whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Activity whereIpAddress($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Activity whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Activity whereSubjectId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Activity whereSubjectType($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Activity whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Activity whereUserAgent($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Activity whereUserId($value)
*/
class Activity extends \Eloquent
{
}
}
namespace App{
/**
* App\Announcement.
*
* @property int $id
* @property string|null $category_name
* @property int $user_id
* @property string $title
* @property string $body
* @property \Carbon\Carbon|null $active_until
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \App\User $announcer
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\Announcement whereActiveUntil($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Announcement whereBody($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Announcement whereCategoryName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Announcement whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Announcement whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Announcement whereTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Announcement whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Announcement whereUserId($value)
*/
class Announcement extends \Eloquent
{
}
}
namespace App{
/**
* App\AppointeddUser.
*
* @property int $id
* @property int $user_id
* @property string $appointed_as
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \App\User $user
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\AppointeddUser whereAppointedAs($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\AppointeddUser whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\AppointeddUser whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\AppointeddUser whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\AppointeddUser whereUserId($value)
*/
class AppointeddUser extends \Eloquent
{
}
}
namespace App{
/**
* App\Ban.
*
* @property int $id
* @property string $user_id
* @property string|null $category
* @property string|null $description
* @property string|null $unban_at
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \App\User $user
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\Ban whereCategory($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Ban whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Ban whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Ban whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Ban whereUnbanAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Ban whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Ban whereUserId($value)
*/
class Ban extends \Eloquent
{
}
}
namespace App{
/**
* App\BlockedDomain.
*
* @property int $id
* @property string $domain
* @property string $category
* @property string|null $description
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\BlockedDomain whereCategory($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\BlockedDomain whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\BlockedDomain whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\BlockedDomain whereDomain($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\BlockedDomain whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\BlockedDomain whereUpdatedAt($value)
*/
class BlockedDomain extends \Eloquent
{
}
}
namespace App{
/**
* App\Bookmark.
*
* @property int $id
* @property int $user_id
* @property int $bookmarkable_id
* @property string $bookmarkable_type
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\Bookmark whereBookmarkableId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Bookmark whereBookmarkableType($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Bookmark whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Bookmark whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Bookmark whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Bookmark whereUserId($value)
*/
class Bookmark extends \Eloquent
{
}
}
namespace App{
/**
* App\Category.
*
* @property int $id
* @property string $name
* @property string $language
* @property string $description
* @property int $nsfw
* @property string $color
* @property string $avatar
* @property int $public
* @property int $active
* @property int $subscribers
* @property mixed|null $settings
* @property string|null $deleted_at
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Bookmark[] $bookmarks
* @property-read \App\CommentCollection|\App\Comment[] $comments
* @property-read \Illuminate\Database\Eloquent\Collection|\App\User[] $moderators
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Rule[] $rules
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Submission[] $submissions
* @property-read \Illuminate\Database\Eloquent\Collection|\App\User[] $subscriptions
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\Category bookmarkedBy(\App\User $user)
* @method static bool|null forceDelete()
* @method static \Illuminate\Database\Query\Builder|\App\Category onlyTrashed()
* @method static bool|null restore()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Category whereActive($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Category whereAvatar($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Category whereColor($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Category whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Category whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Category whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Category whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Category whereLanguage($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Category whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Category whereNsfw($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Category wherePublic($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Category whereSettings($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Category whereSubscribers($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Category whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\App\Category withTrashed()
* @method static \Illuminate\Database\Query\Builder|\App\Category withoutTrashed()
*/
class Category extends \Eloquent
{
}
}
namespace App{
/**
* App\CategoryForbiddenName.
*
* @property int $id
* @property string $name
* @property string|null $deleted_at
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
*
* @method static bool|null forceDelete()
* @method static \Illuminate\Database\Query\Builder|\App\CategoryForbiddenName onlyTrashed()
* @method static bool|null restore()
* @method static \Illuminate\Database\Eloquent\Builder|\App\CategoryForbiddenName whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\CategoryForbiddenName whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\CategoryForbiddenName whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\CategoryForbiddenName whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\CategoryForbiddenName whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\App\CategoryForbiddenName withTrashed()
* @method static \Illuminate\Database\Query\Builder|\App\CategoryForbiddenName withoutTrashed()
*/
class CategoryForbiddenName extends \Eloquent
{
}
}
namespace App{
/**
* App\Comment.
*
* @property int $id
* @property int $submission_id
* @property int $user_id
* @property int $parent_id
* @property int $category_id
* @property int $level
* @property float $rate
* @property int $upvotes
* @property int $downvotes
* @property string $body
* @property string|null $approved_at
* @property string|null $deleted_at
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Bookmark[] $bookmarks
* @property-read \App\CommentCollection|\App\Comment[] $children
* @property-read \App\User $notifiable
* @property-read \App\User $owner
* @property-read \App\Comment $parent
* @property-read \App\Submission $submission
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment bookmarkedBy(\App\User $user)
* @method static bool|null forceDelete()
* @method static \Illuminate\Database\Query\Builder|\App\Comment onlyTrashed()
* @method static bool|null restore()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereApprovedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereBody($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereCategoryId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereDownvotes($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereLevel($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereParentId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereRate($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereSubmissionId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereUpvotes($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\App\Comment withTrashed()
* @method static \Illuminate\Database\Query\Builder|\App\Comment withoutTrashed()
*/
class Comment extends \Eloquent
{
}
}
namespace App{
/**
* App\Conversation.
*
* @property int $id
* @property int $user_id
* @property int $contact_id
* @property int $message_id
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \App\User $contact
* @property-read \App\Message $last_message
* @property-read \App\User $owner
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\Conversation whereContactId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Conversation whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Conversation whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Conversation whereMessageId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Conversation whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Conversation whereUserId($value)
*/
class Conversation extends \Eloquent
{
}
}
namespace App{
/**
* App\Feedback.
*
* @property int $id
* @property string $subject
* @property int $user_id
* @property string $description
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property string|null $deleted_at
* @property-read \App\User $owner
*
* @method static bool|null forceDelete()
* @method static \Illuminate\Database\Query\Builder|\App\Feedback onlyTrashed()
* @method static bool|null restore()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Feedback whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Feedback whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Feedback whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Feedback whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Feedback whereSubject($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Feedback whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Feedback whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\App\Feedback withTrashed()
* @method static \Illuminate\Database\Query\Builder|\App\Feedback withoutTrashed()
*/
class Feedback extends \Eloquent
{
}
}
namespace App{
/**
* App\Help.
*
* @property int $id
* @property string $title
* @property string $body
* @property int $index
* @property string|null $deleted_at
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
*
* @method static bool|null forceDelete()
* @method static \Illuminate\Database\Query\Builder|\App\Help onlyTrashed()
* @method static bool|null restore()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Help whereBody($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Help whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Help whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Help whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Help whereIndex($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Help whereTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Help whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\App\Help withTrashed()
* @method static \Illuminate\Database\Query\Builder|\App\Help withoutTrashed()
*/
class Help extends \Eloquent
{
}
}
namespace App{
/**
* App\Invite.
*
* @property int $id
* @property string $invitation
* @property string|null $email
* @property string|null $category
* @property int $sent
* @property string|null $claimed_at
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\Invite whereCategory($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Invite whereClaimedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Invite whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Invite whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Invite whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Invite whereInvitation($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Invite whereSent($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Invite whereUpdatedAt($value)
*/
class Invite extends \Eloquent
{
}
}
namespace App{
/**
* App\Message.
*
* @property int $id
* @property int $user_id
* @property array $data
* @property string|null $read_at
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \App\User $owner
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message whereData($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message whereReadAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message whereUserId($value)
*/
class Message extends \Eloquent
{
}
}
namespace App{
/**
* App\Photo.
*
* @property int $id
* @property int|null $submission_id
* @property int $user_id
* @property string $path
* @property string $thumbnail_path
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \App\User $owner
* @property-read \App\Submission|null $submission
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\Photo whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Photo whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Photo wherePath($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Photo whereSubmissionId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Photo whereThumbnailPath($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Photo whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Photo whereUserId($value)
*/
class Photo extends \Eloquent
{
}
}
namespace App{
/**
* App\Report.
*
* @property int $id
* @property int|null $category_id
* @property int $reportable_id
* @property string $reportable_type
* @property string $subject
* @property int $user_id
* @property string|null $description
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property \Carbon\Carbon|null $deleted_at
* @property-read \App\Comment $comment
* @property-read \Illuminate\Database\Eloquent\Model|\Eloquent $reported
* @property-read \App\User $reporter
* @property-read \App\Submission $submission
*
* @method static bool|null forceDelete()
* @method static \Illuminate\Database\Query\Builder|\App\Report onlyTrashed()
* @method static bool|null restore()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Report whereCategoryId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Report whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Report whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Report whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Report whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Report whereReportableId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Report whereReportableType($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Report whereSubject($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Report whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Report whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\App\Report withTrashed()
* @method static \Illuminate\Database\Query\Builder|\App\Report withoutTrashed()
*/
class Report extends \Eloquent
{
}
}
namespace App{
/**
* App\Rule.
*
* @property int $id
* @property string $title
* @property int $category_id
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \App\Category $category
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\Rule whereCategoryId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Rule whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Rule whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Rule whereTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Rule whereUpdatedAt($value)
*/
class Rule extends \Eloquent
{
}
}
namespace App{
/**
* App\Submission.
*
* @property int $id
* @property string $slug
* @property string $title
* @property string $type
* @property array $data
* @property string $category_name
* @property float $rate
* @property int|null $resubmit_id
* @property int $user_id
* @property int $nsfw
* @property int $category_id
* @property int $upvotes
* @property int $downvotes
* @property int $comments_number
* @property string|null $approved_at
* @property string|null $deleted_at
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Bookmark[] $bookmarks
* @property-read \App\Category $category
* @property-read \App\CommentCollection|\App\Comment[] $comments
* @property-read \App\User $notifiable
* @property-read \App\User $owner
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\Submission bookmarkedBy(\App\User $user)
* @method static bool|null forceDelete()
* @method static \Illuminate\Database\Query\Builder|\App\Submission onlyTrashed()
* @method static bool|null restore()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Submission whereApprovedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Submission whereCategoryId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Submission whereCategoryName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Submission whereCommentsNumber($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Submission whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Submission whereData($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Submission whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Submission whereDownvotes($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Submission whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Submission whereNsfw($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Submission whereRate($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Submission whereResubmitId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Submission whereSlug($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Submission whereTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Submission whereType($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Submission whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Submission whereUpvotes($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Submission whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\App\Submission withTrashed()
* @method static \Illuminate\Database\Query\Builder|\App\Submission withoutTrashed()
*/
class Submission extends \Eloquent
{
}
}
namespace App{
/**
* App\Subscription.
*
* @property int $user_id
* @property int $category_id
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\Subscription whereCategoryId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Subscription whereUserId($value)
*/
class Subscription extends \Eloquent
{
}
}
namespace App{
/**
* App\Suggested.
*
* @property int $id
* @property int $category_id
* @property string|null $group
* @property string $language
* @property int $z_index
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \App\Category $category
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\Suggested whereCategoryId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Suggested whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Suggested whereGroup($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Suggested whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Suggested whereLanguage($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Suggested whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Suggested whereZIndex($value)
*/
class Suggested extends \Eloquent
{
}
}
namespace App{
/**
* App\User.
*
* @property int $id
* @property string $username
* @property string|null $name
* @property string|null $website
* @property string|null $location
* @property string $avatar
* @property int $submission_karma
* @property int|null $comment_karma
* @property string $color
* @property string|null $bio
* @property int $active
* @property int $confirmed
* @property string|null $email
* @property array $settings
* @property array $info
* @property int $verified
* @property string $password
* @property string|null $deleted_at
* @property string|null $remember_token
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Category[] $bookmarkedCategories
* @property-read \App\CommentCollection|\App\Comment[] $bookmarkedComments
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Submission[] $bookmarkedSubmissions
* @property-read \Illuminate\Database\Eloquent\Collection|\App\User[] $bookmarkedUsers
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Bookmark[] $bookmarks
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Category[] $categoryRoles
* @property-read \Illuminate\Database\Eloquent\Collection|\Laravel\Passport\Client[] $clients
* @property-read \App\CommentCollection|\App\Comment[] $commentDownvotes
* @property-read \App\CommentCollection|\App\Comment[] $commentUpvotes
* @property-read \App\CommentCollection|\App\Comment[] $comments
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Conversation[] $contacts
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Message[] $conversations
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Category[] $feedHot
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Category[] $feedNew
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Category[] $feedRising
* @property-read \Illuminate\Database\Eloquent\Collection|\App\User[] $hiddenUsers
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Submission[] $hides
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Message[] $messages
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Submission[] $submissionDownvotes
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Submission[] $submissionUpvotes
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Submission[] $submissions
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Category[] $subscriptions
* @property-read \Illuminate\Database\Eloquent\Collection|\Laravel\Passport\Token[] $tokens
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\User bookmarkedBy(\App\User $user)
* @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 whereActive($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereAvatar($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereBio($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereColor($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereCommentKarma($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereConfirmed($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 whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereInfo($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereLocation($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User wherePassword($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereRememberToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereSettings($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereSubmissionKarma($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereUsername($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereVerified($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereWebsite($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{
/**
* App\UserForbiddenName.
*
* @property int $id
* @property string $username
* @property string|null $deleted_at
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
*
* @method static bool|null forceDelete()
* @method static \Illuminate\Database\Query\Builder|\App\UserForbiddenName onlyTrashed()
* @method static bool|null restore()
* @method static \Illuminate\Database\Eloquent\Builder|\App\UserForbiddenName whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\UserForbiddenName whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\UserForbiddenName whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\UserForbiddenName whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\UserForbiddenName whereUsername($value)
* @method static \Illuminate\Database\Query\Builder|\App\UserForbiddenName withTrashed()
* @method static \Illuminate\Database\Query\Builder|\App\UserForbiddenName withoutTrashed()
*/
class UserForbiddenName extends \Eloquent
{
}
}