-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_ide_helper_models.php
More file actions
279 lines (266 loc) · 13.1 KB
/
Copy path_ide_helper_models.php
File metadata and controls
279 lines (266 loc) · 13.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
<?php
// @formatter:off
// phpcs:ignoreFile
/**
* 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\Models\Boards{
/**
* @property int $id
* @property int $project_id
* @property string|null $title
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Boards\BoardColumn> $columns
* @property-read int|null $columns_count
* @property-read \App\Models\Projects\Project $project
* @method static \Illuminate\Database\Eloquent\Builder|Board newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Board newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Board query()
* @method static \Illuminate\Database\Eloquent\Builder|Board whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Board whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Board whereProjectId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Board whereTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|Board whereUpdatedAt($value)
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperBoard {}
}
namespace App\Models\Boards{
/**
* @property int $id
* @property int $board_id
* @property string $title
* @property int $order
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Models\Boards\Board $board
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Tasks\Task> $tasks
* @property-read int|null $tasks_count
* @method static \Illuminate\Database\Eloquent\Builder|BoardColumn newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|BoardColumn newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|BoardColumn query()
* @method static \Illuminate\Database\Eloquent\Builder|BoardColumn whereBoardId($value)
* @method static \Illuminate\Database\Eloquent\Builder|BoardColumn whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|BoardColumn whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|BoardColumn whereOrder($value)
* @method static \Illuminate\Database\Eloquent\Builder|BoardColumn whereTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|BoardColumn whereUpdatedAt($value)
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperBoardColumn {}
}
namespace App\Models\Projects{
/**
* @property int $id
* @property string $name
* @property int $team_id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Boards\Board> $boards
* @property-read int|null $boards_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Projects\ProjectUser> $projectUsers
* @property-read int|null $project_users_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Tasks\TaskPriority> $taskPriorities
* @property-read int|null $task_priorities_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 whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Project whereTeamId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Project whereUpdatedAt($value)
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperProject {}
}
namespace App\Models\Projects{
/**
* @property int $id
* @property int $project_id
* @property int $user_id
* @property int $role
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Models\Projects\Project $project
* @property-read \App\Models\User $user
* @method static \Illuminate\Database\Eloquent\Builder|ProjectUser newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|ProjectUser newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|ProjectUser query()
* @method static \Illuminate\Database\Eloquent\Builder|ProjectUser whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|ProjectUser whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|ProjectUser whereProjectId($value)
* @method static \Illuminate\Database\Eloquent\Builder|ProjectUser whereRole($value)
* @method static \Illuminate\Database\Eloquent\Builder|ProjectUser whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|ProjectUser whereUserId($value)
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperProjectUser {}
}
namespace App\Models\Tasks{
/**
* @property int $id
* @property int|null $board_column_id
* @property int|null $task_priority_id
* @property string $title
* @property string|null $description
* @property bool $is_archived
* @property int $order
* @property string|null $deadline_at
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Models\Boards\BoardColumn|null $column
* @property-read \App\Models\Tasks\TaskPriority|null $priority
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Tasks\TaskUser> $taskUsers
* @property-read int|null $task_users_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Tasks\TaskTimer> $timers
* @property-read int|null $timers_count
* @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 whereBoardColumnId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Task whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Task whereDeadlineAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Task whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|Task whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Task whereIsArchived($value)
* @method static \Illuminate\Database\Eloquent\Builder|Task whereOrder($value)
* @method static \Illuminate\Database\Eloquent\Builder|Task whereTaskPriorityId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Task whereTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|Task whereUpdatedAt($value)
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperTask {}
}
namespace App\Models\Tasks{
/**
* @property int $id
* @property string $title
* @property int $project_id
* @property-read \App\Models\Projects\Project $project
* @method static \Illuminate\Database\Eloquent\Builder|TaskPriority newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|TaskPriority newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|TaskPriority query()
* @method static \Illuminate\Database\Eloquent\Builder|TaskPriority whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskPriority whereProjectId($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskPriority whereTitle($value)
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperTaskPriority {}
}
namespace App\Models\Tasks{
/**
* @property int $id
* @property int $task_id
* @property string $start_at
* @property string $end_at
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Models\Tasks\Task $task
* @method static \Illuminate\Database\Eloquent\Builder|TaskTimer newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|TaskTimer newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|TaskTimer query()
* @method static \Illuminate\Database\Eloquent\Builder|TaskTimer whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskTimer whereEndAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskTimer whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskTimer whereStartAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskTimer whereTaskId($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskTimer whereUpdatedAt($value)
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperTaskTimer {}
}
namespace App\Models\Tasks{
/**
* @property int $id
* @property int $user_id
* @property int $task_id
* @property int $role
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Models\Tasks\Task $task
* @property-read \App\Models\User $user
* @method static \Illuminate\Database\Eloquent\Builder|TaskUser newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|TaskUser newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|TaskUser query()
* @method static \Illuminate\Database\Eloquent\Builder|TaskUser whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskUser whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskUser whereRole($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskUser whereTaskId($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskUser whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskUser whereUserId($value)
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperTaskUser {}
}
namespace App\Models\Teams{
/**
* @property int $id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property string $name
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\User> $users
* @property-read int|null $users_count
* @method static \Illuminate\Database\Eloquent\Builder|Team newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Team newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Team query()
* @method static \Illuminate\Database\Eloquent\Builder|Team whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Team whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Team whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Team whereUpdatedAt($value)
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperTeam {}
}
namespace App\Models{
/**
* @property int $id
* @property string $email
* @property string|null $remember_token
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property string $first_name
* @property string $last_name
* @property int $role
* @property int $team_id
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection<int, \Illuminate\Notifications\DatabaseNotification> $notifications
* @property-read int|null $notifications_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Projects\ProjectUser> $projectUsers
* @property-read int|null $project_users_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Tasks\TaskUser> $taskUser
* @property-read int|null $task_user_count
* @property-read \App\Models\Teams\Team $team
* @property-read \Illuminate\Database\Eloquent\Collection<int, \Laravel\Sanctum\PersonalAccessToken> $tokens
* @property-read int|null $tokens_count
* @method static \Database\Factories\UserFactory factory($count = null, $state = [])
* @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 whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereEmail($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 whereLastName($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereRememberToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereRole($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereTeamId($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereUpdatedAt($value)
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperUser {}
}