This repository has been archived by the owner on Oct 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_ide_helper_models.php
194 lines (184 loc) · 7.99 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
<?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\Category
*
* @property int $id
* @property string $name
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Post[] $posts
* @method static \Illuminate\Database\Eloquent\Builder|\App\Category whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Category whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Category whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Category whereUpdatedAt($value)
*/
class Category extends \Eloquent {}
}
namespace App{
/**
* App\Comment
*
* @property int $id
* @property int $post_id
* @property int $user_id
* @property int $is_active
* @property string $body
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \App\Post $post
* @property-read \Illuminate\Database\Eloquent\Collection|\App\CommentReply[] $replies
* @property-read \App\User $user
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereBody($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereIsActive($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment wherePostId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereUserId($value)
*/
class Comment extends \Eloquent {}
}
namespace App{
/**
* App\CommentReply
*
* @property int $id
* @property int $comment_id
* @property int $user_id
* @property int $post_id
* @property int $is_active
* @property string $body
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \App\Comment $comment
* @property-read \App\Post $post
* @property-read \App\User $user
* @method static \Illuminate\Database\Eloquent\Builder|\App\CommentReply whereBody($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\CommentReply whereCommentId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\CommentReply whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\CommentReply whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\CommentReply whereIsActive($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\CommentReply wherePostId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\CommentReply whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\CommentReply whereUserId($value)
*/
class CommentReply extends \Eloquent {}
}
namespace App{
/**
* App\Photo
*
* @property int $id
* @property string|null $path
* @property int $photoable_id
* @property string $photoable_type
* @property string|null $deleted_at
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Model|\Eloquent $photoable
* @property-read \App\Post $post
* @property-read \App\User $user
* @method static \Illuminate\Database\Eloquent\Builder|\App\Photo whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Photo whereDeletedAt($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 wherePhotoableId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Photo wherePhotoableType($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Photo whereUpdatedAt($value)
*/
class Photo extends \Eloquent {}
}
namespace App{
/**
* App\Photoable
*
*/
class Photoable extends \Eloquent {}
}
namespace App{
/**
* App\Post
*
* @property int $id
* @property int $user_id
* @property int $category_id
* @property string $title
* @property string|null $slug
* @property string $body
* @property int $is_active
* @property string|null $deleted_at
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \App\Category $category
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Comment[] $comments
* @property-read \App\Photo $photo
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Photo[] $photos
* @property-read \App\User $user
* @method static \Illuminate\Database\Eloquent\Builder|\App\Post findSimilarSlugs(\Illuminate\Database\Eloquent\Model $model, $attribute, $config, $slug)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Post whereBody($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Post whereCategoryId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Post whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Post whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Post whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Post whereIsActive($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Post whereSlug($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Post whereTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Post whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Post whereUserId($value)
*/
class Post extends \Eloquent {}
}
namespace App{
/**
* App\Role
*
* @property int $id
* @property string $name
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\App\User[] $users
* @method static \Illuminate\Database\Eloquent\Builder|\App\Role whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Role whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Role whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Role whereUpdatedAt($value)
*/
class Role extends \Eloquent {}
}
namespace App{
/**
* App\User
*
* @property int $id
* @property string $name
* @property int $role_id
* @property int $is_active
* @property string $email
* @property string $password
* @property string|null $remember_token
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
* @property-read \App\Photo $photo
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Photo[] $photos
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Post[] $posts
* @property-read \App\Role $role
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereCreatedAt($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 whereIsActive($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 whereRoleId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereUpdatedAt($value)
*/
class User extends \Eloquent {}
}