-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path_ide_helper_models.php
165 lines (157 loc) · 8.48 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
<?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\ProductType
*
* @property int $id
* @property string $slug
* @property string $name
* @property string|null $description
* @property int $active
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read mixed $api_route
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProductType newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProductType newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProductType query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProductType whereActive($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProductType whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProductType whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProductType whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProductType whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProductType whereSlug($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProductType whereUpdatedAt($value)
*/
class ProductType extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Permission
*
* @property int $id
* @property string $name
* @property string $guard_name
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\Spatie\Permission\Models\Permission[] $permissions
* @property-read int|null $permissions_count
* @property-read \Illuminate\Database\Eloquent\Collection|\Spatie\Permission\Models\Role[] $roles
* @property-read int|null $roles_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\User[] $users
* @property-read int|null $users_count
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Permission newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Permission newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\Spatie\Permission\Models\Permission permission($permissions)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Permission query()
* @method static \Illuminate\Database\Eloquent\Builder|\Spatie\Permission\Models\Permission role($roles, $guard = null)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Permission whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Permission whereGuardName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Permission whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Permission whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Permission whereUpdatedAt($value)
*/
class Permission extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Role
*
* @property int $id
* @property string $name
* @property string $display_name
* @property bool $enabled
* @property string $guard_name
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read mixed $api_route
* @property-read \Illuminate\Database\Eloquent\Collection|\Spatie\Permission\Models\Permission[] $permissions
* @property-read int|null $permissions_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\User[] $users
* @property-read int|null $users_count
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Role newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Role newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\Spatie\Permission\Models\Role permission($permissions)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Role query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Role whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Role whereDisplayName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Role whereEnabled($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Role whereGuardName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Role whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Role whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Role whereUpdatedAt($value)
*/
class Role extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Product
*
* @property int $id
* @property string $slug
* @property string $name
* @property string|null $description
* @property int $product_type_id
* @property int $active
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read mixed $api_route
* @property-read \App\Models\ProductType $productType
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product whereActive($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product whereProductTypeId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product whereSlug($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Product whereUpdatedAt($value)
*/
class Product extends \Eloquent {}
}
namespace App{
/**
* App\User
*
* @property int $id
* @property string $name
* @property string $email
* @property \Illuminate\Support\Carbon|null $email_verified_at
* @property string $password
* @property string|null $remember_token
* @property mixed|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read mixed $api_route
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
* @property-read int|null $notifications_count
* @property-read \Illuminate\Database\Eloquent\Collection|\Spatie\Permission\Models\Permission[] $permissions
* @property-read int|null $permissions_count
* @property-read \Illuminate\Database\Eloquent\Collection|\Spatie\Permission\Models\Role[] $roles
* @property-read int|null $roles_count
* @property-read \Illuminate\Database\Eloquent\Collection|\Laravel\Sanctum\PersonalAccessToken[] $tokens
* @property-read int|null $tokens_count
* @method static \Illuminate\Database\Eloquent\Builder|\App\User newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\User newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\User permission($permissions)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\User role($roles, $guard = null)
* @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 whereEmailVerifiedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereId($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 whereUpdatedAt($value)
*/
class User extends \Eloquent {}
}