-
Notifications
You must be signed in to change notification settings - Fork 0
/
_ide_helper_models.php
232 lines (223 loc) · 11.7 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
<?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{
/**
*
*
* @property int $id
* @property string $model
* @property int $model_id
* @property string $operation
* @property string|null $data
* @property string $ip_address
* @property string|null $username
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @method static \Illuminate\Database\Eloquent\Builder|AppLog newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|AppLog newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|AppLog query()
* @method static \Illuminate\Database\Eloquent\Builder|AppLog whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppLog whereData($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppLog whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppLog whereIpAddress($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppLog whereModel($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppLog whereModelId($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppLog whereOperation($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppLog whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppLog whereUsername($value)
*/
class AppLog extends \Eloquent {}
}
namespace App\Models{
/**
*
*
* @property int $id
* @property int|null $user_id
* @property string $ip_address
* @property string $user_agent
* @property string|null $email
* @property string|null $username
* @property string|null $mobile_number
* @property string $action
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @method static \Illuminate\Database\Eloquent\Builder|AuthLog newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|AuthLog newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|AuthLog query()
* @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereAction($value)
* @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereIpAddress($value)
* @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereMobileNumber($value)
* @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereUserAgent($value)
* @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereUserId($value)
* @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereUsername($value)
*/
class AuthLog extends \Eloquent {}
}
namespace App\Models{
/**
*
*
* @property int $id
* @property string $title
* @property string|null $sub_title
* @property string $icon
* @property string|null $sub_icon
* @property int $order
* @property int|null $sub_order
* @property string $route
* @property string|null $permissions
* @property int $is_active
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @method static \Illuminate\Database\Eloquent\Builder|Menu active()
* @method static \Illuminate\Database\Eloquent\Builder|Menu inactive()
* @method static \Illuminate\Database\Eloquent\Builder|Menu newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Menu newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Menu query()
* @method static \Illuminate\Database\Eloquent\Builder|Menu whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Menu whereIcon($value)
* @method static \Illuminate\Database\Eloquent\Builder|Menu whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Menu whereIsActive($value)
* @method static \Illuminate\Database\Eloquent\Builder|Menu whereOrder($value)
* @method static \Illuminate\Database\Eloquent\Builder|Menu wherePermissions($value)
* @method static \Illuminate\Database\Eloquent\Builder|Menu whereRoute($value)
* @method static \Illuminate\Database\Eloquent\Builder|Menu whereSubIcon($value)
* @method static \Illuminate\Database\Eloquent\Builder|Menu whereSubOrder($value)
* @method static \Illuminate\Database\Eloquent\Builder|Menu whereSubTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|Menu whereTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|Menu whereUpdatedAt($value)
*/
class Menu extends \Eloquent {}
}
namespace App\Models{
/**
*
*
* @property int $id
* @property string $name
* @property string $operation
* @property string $model
* @property int $is_crud
* @property int $is_active
* @property string $guard_name
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection<int, Permission> $permissions
* @property-read int|null $permissions_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Role> $roles
* @property-read int|null $roles_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\User> $users
* @property-read int|null $users_count
* @method static \Illuminate\Database\Eloquent\Builder|Permission active()
* @method static \Illuminate\Database\Eloquent\Builder|Permission inactive()
* @method static \Illuminate\Database\Eloquent\Builder|Permission newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Permission newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Permission permission($permissions, $without = false)
* @method static \Illuminate\Database\Eloquent\Builder|Permission query()
* @method static \Illuminate\Database\Eloquent\Builder|Permission role($roles, $guard = null, $without = false)
* @method static \Illuminate\Database\Eloquent\Builder|Permission whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Permission whereGuardName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Permission whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Permission whereIsActive($value)
* @method static \Illuminate\Database\Eloquent\Builder|Permission whereIsCrud($value)
* @method static \Illuminate\Database\Eloquent\Builder|Permission whereModel($value)
* @method static \Illuminate\Database\Eloquent\Builder|Permission whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Permission whereOperation($value)
* @method static \Illuminate\Database\Eloquent\Builder|Permission whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Permission withoutPermission($permissions)
* @method static \Illuminate\Database\Eloquent\Builder|Permission withoutRole($roles, $guard = null)
*/
class Permission extends \Eloquent {}
}
namespace App\Models{
/**
*
*
* @property int $id
* @property string $name
* @property int $is_active
* @property string $guard_name
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Permission> $permissions
* @property-read int|null $permissions_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\User> $users
* @property-read int|null $users_count
* @method static \Illuminate\Database\Eloquent\Builder|Role active()
* @method static \Illuminate\Database\Eloquent\Builder|Role inactive()
* @method static \Illuminate\Database\Eloquent\Builder|Role newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Role newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Role permission($permissions, $without = false)
* @method static \Illuminate\Database\Eloquent\Builder|Role query()
* @method static \Illuminate\Database\Eloquent\Builder|Role whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Role whereGuardName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Role whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Role whereIsActive($value)
* @method static \Illuminate\Database\Eloquent\Builder|Role whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Role whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Role withoutPermission($permissions)
*/
class Role extends \Eloquent {}
}
namespace App\Models{
/**
*
*
* @property int $id
* @property string $name
* @property string $gender
* @property string $email
* @property string $username
* @property string|null $mobile_number
* @property string|null $image
* @property \Illuminate\Support\Carbon|null $email_verified_at
* @property mixed $password
* @property string|null $remember_token
* @property int $is_active
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @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\Permission> $permissions
* @property-read int|null $permissions_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Role> $roles
* @property-read int|null $roles_count
* @method static \Illuminate\Database\Eloquent\Builder|User active()
* @method static \Database\Factories\UserFactory factory($count = null, $state = [])
* @method static \Illuminate\Database\Eloquent\Builder|User inactive()
* @method static \Illuminate\Database\Eloquent\Builder|User newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|User newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|User permission($permissions, $without = false)
* @method static \Illuminate\Database\Eloquent\Builder|User query()
* @method static \Illuminate\Database\Eloquent\Builder|User role($roles, $guard = null, $without = false)
* @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 whereGender($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereImage($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereIsActive($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereMobileNumber($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereName($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)
* @method static \Illuminate\Database\Eloquent\Builder|User whereUsername($value)
* @method static \Illuminate\Database\Eloquent\Builder|User withoutPermission($permissions)
* @method static \Illuminate\Database\Eloquent\Builder|User withoutRole($roles, $guard = null)
*/
class User extends \Eloquent {}
}