-
Notifications
You must be signed in to change notification settings - Fork 15
/
_ide_helper_models.php
218 lines (209 loc) · 10.8 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
<?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\Banner
*
* @property int $id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property int $sort
* @property-read mixed $original_url
* @property-read mixed $thumbnail_url
* @property-read \Spatie\MediaLibrary\MediaCollections\Models\Collections\MediaCollection|\Spatie\MediaLibrary\MediaCollections\Models\Media[] $media
* @property-read int|null $media_count
* @method static \Database\Factories\BannerFactory factory(...$parameters)
* @method static \Illuminate\Database\Eloquent\Builder|Banner newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Banner newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Banner query()
* @method static \Illuminate\Database\Eloquent\Builder|Banner whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Banner whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Banner whereSort($value)
* @method static \Illuminate\Database\Eloquent\Builder|Banner whereUpdatedAt($value)
*/
class Banner extends \Eloquent implements \Spatie\MediaLibrary\HasMedia {}
}
namespace App\Models{
/**
* App\Models\Campaign
*
* @property int $id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property string $name
* @property string $slug
* @property string|null $description
* @property int|null $funds
* @property int|null $collected_funds
* @property int|null $donors
* @property \Illuminate\Support\Carbon|null $published_at
* @property \Illuminate\Support\Carbon|null $closed_at
* @property int|null $unique_code_sufix
* @property-read mixed $collected_funds_percentage
* @property-read mixed $original_cover_url
* @property-read mixed $thumbnail_cover_url
* @property-read mixed $time_left
* @property-read \Spatie\MediaLibrary\MediaCollections\Models\Collections\MediaCollection|\Spatie\MediaLibrary\MediaCollections\Models\Media[] $media
* @property-read int|null $media_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Transaction[] $transactions
* @property-read int|null $transactions_count
* @method static \Illuminate\Database\Eloquent\Builder|Campaign available()
* @method static \Database\Factories\CampaignFactory factory(...$parameters)
* @method static \Illuminate\Database\Eloquent\Builder|Campaign newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Campaign newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Campaign published()
* @method static \Illuminate\Database\Eloquent\Builder|Campaign query()
* @method static \Illuminate\Database\Eloquent\Builder|Campaign whereClosedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Campaign whereCollectedFunds($value)
* @method static \Illuminate\Database\Eloquent\Builder|Campaign whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Campaign whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|Campaign whereDonors($value)
* @method static \Illuminate\Database\Eloquent\Builder|Campaign whereFunds($value)
* @method static \Illuminate\Database\Eloquent\Builder|Campaign whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Campaign whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Campaign wherePublishedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Campaign whereSlug($value)
* @method static \Illuminate\Database\Eloquent\Builder|Campaign whereUniqueCodeSufix($value)
* @method static \Illuminate\Database\Eloquent\Builder|Campaign whereUpdatedAt($value)
*/
class Campaign extends \Eloquent implements \Spatie\MediaLibrary\HasMedia {}
}
namespace App\Models{
/**
* App\Models\Mutation
*
* @property int $id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property string|null $received_at
* @property string $bank_name
* @property string $account_number
* @property string $account_holder_name
* @property string $type
* @property int $amount
* @property int $balance
* @property string|null $description
* @method static \Database\Factories\MutationFactory factory(...$parameters)
* @method static \Illuminate\Database\Eloquent\Builder|Mutation newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Mutation newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Mutation query()
* @method static \Illuminate\Database\Eloquent\Builder|Mutation whereAccountHolderName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Mutation whereAccountNumber($value)
* @method static \Illuminate\Database\Eloquent\Builder|Mutation whereAmount($value)
* @method static \Illuminate\Database\Eloquent\Builder|Mutation whereBalance($value)
* @method static \Illuminate\Database\Eloquent\Builder|Mutation whereBankName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Mutation whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Mutation whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|Mutation whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Mutation whereReceivedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Mutation whereType($value)
* @method static \Illuminate\Database\Eloquent\Builder|Mutation whereUpdatedAt($value)
*/
class Mutation extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Slider
*
* @property int $id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property string $name
* @property int $sort
* @property string $campaign_ids
* @property-read array $array_campaign_ids
* @method static \Database\Factories\SliderFactory factory(...$parameters)
* @method static \Illuminate\Database\Eloquent\Builder|Slider newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Slider newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Slider query()
* @method static \Illuminate\Database\Eloquent\Builder|Slider whereCampaignIds($value)
* @method static \Illuminate\Database\Eloquent\Builder|Slider whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Slider whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Slider whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Slider whereSort($value)
* @method static \Illuminate\Database\Eloquent\Builder|Slider whereUpdatedAt($value)
*/
class Slider extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Transaction
*
* @property int $id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property string $code
* @property int $campaign_id
* @property int|null $user_id
* @property string $user_name
* @property string $user_email
* @property string|null $user_phone
* @property int $anonymous
* @property string|null $message
* @property int $unique_code
* @property int $amount
* @property int $total
* @property string $status
* @property-read \App\Models\Campaign $campaign
* @method static \Database\Factories\TransactionFactory factory(...$parameters)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Transaction newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Transaction query()
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereAmount($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereAnonymous($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereCampaignId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereCode($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereMessage($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereStatus($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereTotal($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereUniqueCode($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereUserEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereUserId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereUserName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereUserPhone($value)
*/
class Transaction extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\User
*
* @property int $id
* @property string $name
* @property string $email
* @property string $phone
* @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 int $admin
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
* @property-read int|null $notifications_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 query()
* @method static \Illuminate\Database\Eloquent\Builder|User whereAdmin($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 whereId($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 wherePhone($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereRememberToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereUpdatedAt($value)
*/
class User extends \Eloquent {}
}