-
Notifications
You must be signed in to change notification settings - Fork 0
/
_ide_helper_models.php
244 lines (234 loc) · 12 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
<?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{
/**
* App\Models\Category
*
* @property int $id
* @property string $slug
* @property string $name
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Simulation[] $simulations
* @property-read int|null $simulations_count
* @method static \Database\Factories\CategoryFactory factory(...$parameters)
* @method static \Illuminate\Database\Eloquent\Builder|Category newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Category newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Category query()
* @method static \Illuminate\Database\Eloquent\Builder|Category whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Category whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Category whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Category whereSlug($value)
* @method static \Illuminate\Database\Eloquent\Builder|Category whereUpdatedAt($value)
*/
class Category extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Comment
*
* @property int $id
* @property int $user_id
* @property int $simulation_id
* @property int $parent_id
* @property string $content
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|Comment[] $children
* @property-read int|null $children_count
* @property-read Comment|null $parent
* @property-read \App\Models\Simulation|null $simulation
* @property-read \App\Models\User|null $user
* @method static \Database\Factories\CommentFactory factory(...$parameters)
* @method static \Illuminate\Database\Eloquent\Builder|Comment newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Comment newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Comment query()
* @method static \Illuminate\Database\Eloquent\Builder|Comment whereContent($value)
* @method static \Illuminate\Database\Eloquent\Builder|Comment whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Comment whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Comment whereParentId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Comment whereSimulationId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Comment whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Comment whereUserId($value)
*/
class Comment extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Follow
*
* @method static \Illuminate\Database\Eloquent\Builder|Follow newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Follow newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Follow query()
*/
class Follow extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Message
*
* @property int $id
* @property int $state
* @property int $class
* @property int $user_id
* @property int $send_id
* @property int $simulation_id
* @property int|null $comment_id
* @property string $content
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Models\Comment|null $comment
* @property-read \App\Models\User|null $send
* @property-read \App\Models\Simulation|null $simulation
* @property-read \App\Models\User|null $user
* @method static \Database\Factories\MessageFactory factory(...$parameters)
* @method static \Illuminate\Database\Eloquent\Builder|Message newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Message newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Message query()
* @method static \Illuminate\Database\Eloquent\Builder|Message whereClass($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereCommentId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereContent($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereSendId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereSimulationId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereState($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereUserId($value)
*/
class Message extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Simulation
*
* @property int $id
* @property int $user_id
* @property int $category_id
* @property string $slug
* @property int $access
* @property int $likes
* @property int $shares
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property int $views
* @property-read \App\Models\Category|null $category
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Comment[] $comments
* @property-read int|null $comments_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\User[] $liked
* @property-read int|null $liked_count
* @property-read \App\Models\User|null $user
* @property-read \App\Models\SimulationWithVersion|null $version
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\SimulationWithVersion[] $versions
* @property-read int|null $versions_count
* @method static \Database\Factories\SimulationFactory factory(...$parameters)
* @method static \Illuminate\Database\Eloquent\Builder|Simulation newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Simulation newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Simulation query()
* @method static \Illuminate\Database\Eloquent\Builder|Simulation whereAccess($value)
* @method static \Illuminate\Database\Eloquent\Builder|Simulation whereCategoryId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Simulation whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Simulation whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Simulation whereLikes($value)
* @method static \Illuminate\Database\Eloquent\Builder|Simulation whereShares($value)
* @method static \Illuminate\Database\Eloquent\Builder|Simulation whereSlug($value)
* @method static \Illuminate\Database\Eloquent\Builder|Simulation whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Simulation whereUserId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Simulation whereViews($value)
*/
class Simulation extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\SimulationWithVersion
*
* @property int $id
* @property int $simulation_id
* @property int $status_id
* @property string $name
* @property string $slug
* @property string $root_path
* @property string $synopsis
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Comment[] $comments
* @property-read int|null $comments_count
* @property-read \App\Models\Simulation|null $simulation
* @property-read \App\Models\Simulation|null $status
* @method static \Database\Factories\SimulationWithVersionFactory factory(...$parameters)
* @method static \Illuminate\Database\Eloquent\Builder|SimulationWithVersion newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|SimulationWithVersion newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|SimulationWithVersion query()
* @method static \Illuminate\Database\Eloquent\Builder|SimulationWithVersion whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|SimulationWithVersion whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|SimulationWithVersion whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|SimulationWithVersion whereRootPath($value)
* @method static \Illuminate\Database\Eloquent\Builder|SimulationWithVersion whereSimulationId($value)
* @method static \Illuminate\Database\Eloquent\Builder|SimulationWithVersion whereSlug($value)
* @method static \Illuminate\Database\Eloquent\Builder|SimulationWithVersion whereStatusId($value)
* @method static \Illuminate\Database\Eloquent\Builder|SimulationWithVersion whereSynopsis($value)
* @method static \Illuminate\Database\Eloquent\Builder|SimulationWithVersion whereUpdatedAt($value)
*/
class SimulationWithVersion extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\User
*
* @property int $id
* @property string $slug
* @property string $username
* @property string|null $phone_number
* @property string|null $avatar
* @property string $email
* @property \Illuminate\Support\Carbon|null $email_verified_at
* @property string $password
* @property string|null $remember_token
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property \Illuminate\Support\Carbon|null $deleted_at
* @property int $time
* @property-read \Illuminate\Database\Eloquent\Collection|\OwenIt\Auditing\Models\Audit[] $audits
* @property-read int|null $audits_count
* @property-read \Illuminate\Database\Eloquent\Collection|User[] $followers
* @property-read int|null $followers_count
* @property-read \Illuminate\Database\Eloquent\Collection|User[] $followings
* @property-read int|null $followings_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Simulation[] $liked
* @property-read int|null $liked_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Message[] $messages
* @property-read int|null $messages_count
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
* @property-read int|null $notifications_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Simulation[] $simulations
* @property-read int|null $simulations_count
* @method static \Database\Factories\UserFactory factory(...$parameters)
* @method static \Illuminate\Database\Eloquent\Builder|User newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|User newQuery()
* @method static \Illuminate\Database\Query\Builder|User onlyTrashed()
* @method static \Illuminate\Database\Eloquent\Builder|User query()
* @method static \Illuminate\Database\Eloquent\Builder|User whereAvatar($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereEmailVerifiedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|User wherePassword($value)
* @method static \Illuminate\Database\Eloquent\Builder|User wherePhoneNumber($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereRememberToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereSlug($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereTime($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereUsername($value)
* @method static \Illuminate\Database\Query\Builder|User withTrashed()
* @method static \Illuminate\Database\Query\Builder|User withoutTrashed()
*/
class User extends \Eloquent implements \OwenIt\Auditing\Contracts\Auditable {}
}