-
Notifications
You must be signed in to change notification settings - Fork 6
/
_ide_helper_models.php
166 lines (158 loc) · 7.98 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
<?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\Car
*
* @property int $id
* @property string $model
* @property string $brand
* @property int $category_id
* @property int $price
* @property string $gear_type
* @property bool $is_new
* @property int $year
* @property string $country
* @property array $description
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Models\Category|null $category
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Color[] $colors
* @property-read int|null $colors_count
* @property-read \Spatie\MediaLibrary\MediaCollections\Models\Collections\MediaCollection|\Spatie\MediaLibrary\MediaCollections\Models\Media[] $media
* @property-read int|null $media_count
* @method static \Illuminate\Database\Eloquent\Builder|Car newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Car newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Car query()
* @method static \Illuminate\Database\Eloquent\Builder|Car whereBrand($value)
* @method static \Illuminate\Database\Eloquent\Builder|Car whereCategoryId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Car whereCountry($value)
* @method static \Illuminate\Database\Eloquent\Builder|Car whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Car whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|Car whereGearType($value)
* @method static \Illuminate\Database\Eloquent\Builder|Car whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Car whereIsNew($value)
* @method static \Illuminate\Database\Eloquent\Builder|Car whereModel($value)
* @method static \Illuminate\Database\Eloquent\Builder|Car wherePrice($value)
* @method static \Illuminate\Database\Eloquent\Builder|Car whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Car whereYear($value)
*/
class Car extends \Eloquent implements \Spatie\MediaLibrary\HasMedia {}
}
namespace App\Models{
/**
* App\Models\Category
*
* @property int $id
* @property string $name_en
* @property string $name_ar
* @property int $capacity
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Car[] $cars
* @property-read int|null $cars_count
* @property-read \Spatie\MediaLibrary\MediaCollections\Models\Collections\MediaCollection|\Spatie\MediaLibrary\MediaCollections\Models\Media[] $media
* @property-read int|null $media_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 whereCapacity($value)
* @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 whereNameAr($value)
* @method static \Illuminate\Database\Eloquent\Builder|Category whereNameEn($value)
* @method static \Illuminate\Database\Eloquent\Builder|Category whereUpdatedAt($value)
*/
class Category extends \Eloquent implements \Spatie\MediaLibrary\HasMedia {}
}
namespace App\Models{
/**
* App\Models\Color
*
* @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\Car[] $cars
* @property-read int|null $cars_count
* @method static \Illuminate\Database\Eloquent\Builder|Color newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Color newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Color query()
* @method static \Illuminate\Database\Eloquent\Builder|Color whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Color whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Color whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Color whereUpdatedAt($value)
*/
class Color extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Message
*
* @property int $id
* @property string $name
* @property string $email
* @property string $phone
* @property string $content
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @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 whereContent($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message wherePhone($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereUpdatedAt($value)
*/
class Message extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\User
*
* @property int $id
* @property string $name
* @property string $email
* @property \Illuminate\Support\Carbon|null $email_verified_at
* @property string $password
* @property bool $is_admin
* @property string|null $remember_token
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @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 \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\Eloquent\Builder|User permission($permissions)
* @method static \Illuminate\Database\Eloquent\Builder|User query()
* @method static \Illuminate\Database\Eloquent\Builder|User role($roles, $guard = null)
* @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 whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereIsAdmin($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)
*/
class User extends \Eloquent {}
}