-
Notifications
You must be signed in to change notification settings - Fork 0
/
_ide_helper_models.php
195 lines (186 loc) · 9.22 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
<?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\Comment
*
* @property int $id
* @property string $comment
* @property int|null $user_id
* @property string $commentable_type
* @property int $commentable_id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Model|\Eloquent $commentable
* @property-read \App\Models\User $users
* @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 whereComment($value)
* @method static \Illuminate\Database\Eloquent\Builder|Comment whereCommentableId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Comment whereCommentableType($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 whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Comment whereUserId($value)
*/
class Comment extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Priority
*
* @property int $id
* @property string $priority_name
* @property int $status
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Task[] $tasks
* @property-read int|null $tasks_count
* @method static \Illuminate\Database\Eloquent\Builder|Priority newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Priority newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Priority query()
* @method static \Illuminate\Database\Eloquent\Builder|Priority whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Priority whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Priority wherePriorityName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Priority whereStatus($value)
* @method static \Illuminate\Database\Eloquent\Builder|Priority whereUpdatedAt($value)
*/
class Priority extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Project
*
* @property int $id
* @property string $project_name
* @property string $project_desc
* @property int $status
* @property int|null $user_id
* @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 \Illuminate\Database\Eloquent\Collection|\App\Models\Task[] $tasks
* @property-read int|null $tasks_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\User[] $users
* @property-read int|null $users_count
* @method static \Illuminate\Database\Eloquent\Builder|Project newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Project newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Project query()
* @method static \Illuminate\Database\Eloquent\Builder|Project whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Project whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Project whereProjectDesc($value)
* @method static \Illuminate\Database\Eloquent\Builder|Project whereProjectName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Project whereStatus($value)
* @method static \Illuminate\Database\Eloquent\Builder|Project whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Project whereUserId($value)
*/
class Project extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Role
*
* @property int $id
* @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\User[] $users
* @property-read int|null $users_count
* @method static \Illuminate\Database\Eloquent\Builder|Role newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Role newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Role query()
* @method static \Illuminate\Database\Eloquent\Builder|Role whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Role whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Role whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Role whereUpdatedAt($value)
*/
class Role extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Task
*
* @property int $id
* @property string $task_name
* @property string $task_desc
* @property int $status
* @property string|null $deadline
* @property string|null $task_created_at
* @property string|null $task_started_at
* @property int|null $user_id
* @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 \Illuminate\Database\Eloquent\Collection|\App\Models\Priority[] $priorities
* @property-read int|null $priorities_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Project[] $projects
* @property-read int|null $projects_count
* @property-read \App\Models\User $users
* @method static \Illuminate\Database\Eloquent\Builder|Task newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Task newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Task query()
* @method static \Illuminate\Database\Eloquent\Builder|Task whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Task whereDeadline($value)
* @method static \Illuminate\Database\Eloquent\Builder|Task whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Task whereStatus($value)
* @method static \Illuminate\Database\Eloquent\Builder|Task whereTaskCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Task whereTaskDesc($value)
* @method static \Illuminate\Database\Eloquent\Builder|Task whereTaskName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Task whereTaskStartedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Task whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Task whereUserId($value)
*/
class Task extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\User
*
* @property int $id
* @property string $first_name
* @property string $last_name
* @property string $email
* @property mixed|null $images
* @property string|null $api_token
* @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-read \Illuminate\Database\Eloquent\Collection|\App\Models\Comment[] $comments
* @property-read int|null $comments_count
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
* @property-read int|null $notifications_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Project[] $projects
* @property-read int|null $projects_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Role[] $roles
* @property-read int|null $roles_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Task[] $tasks
* @property-read int|null $tasks_count
* @method static \Illuminate\Database\Eloquent\Builder|User newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|User newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|User query()
* @method static \Illuminate\Database\Eloquent\Builder|User whereApiToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereCreatedAt($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 whereFirstName($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereImages($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereLastName($value)
* @method static \Illuminate\Database\Eloquent\Builder|User wherePassword($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereRememberToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereUpdatedAt($value)
*/
class User extends \Eloquent {}
}