-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_ide_helper_models.php
250 lines (240 loc) · 12.4 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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
<?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\Investment
*
* @property int $id
* @property int $package_id
* @property int $user_id
* @property string $amount
* @property \App\Enums\InvestmentStatus $status
* @property string|null $status_count
* @property \Illuminate\Support\Carbon $next_run
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Models\Package $packages
* @property-read \App\Models\User $users
* @method static \Illuminate\Database\Eloquent\Builder|Investment newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Investment newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Investment query()
* @method static \Illuminate\Database\Eloquent\Builder|Investment whereAmount($value)
* @method static \Illuminate\Database\Eloquent\Builder|Investment whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Investment whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Investment whereNextRun($value)
* @method static \Illuminate\Database\Eloquent\Builder|Investment wherePackageId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Investment whereStatus($value)
* @method static \Illuminate\Database\Eloquent\Builder|Investment whereStatusCount($value)
* @method static \Illuminate\Database\Eloquent\Builder|Investment whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Investment whereUserId($value)
*/
class Investment extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Package
*
* @property int $id
* @property string $name
* @property string $duration
* @property string $roi
* @property string $minimum_deposit
* @property string $maximum_deposit
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Investment> $investments
* @property-read int|null $investments_count
* @method static \Illuminate\Database\Eloquent\Builder|Package newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Package newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Package query()
* @method static \Illuminate\Database\Eloquent\Builder|Package whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Package whereDuration($value)
* @method static \Illuminate\Database\Eloquent\Builder|Package whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Package whereMaximumDeposit($value)
* @method static \Illuminate\Database\Eloquent\Builder|Package whereMinimumDeposit($value)
* @method static \Illuminate\Database\Eloquent\Builder|Package whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Package whereRoi($value)
* @method static \Illuminate\Database\Eloquent\Builder|Package whereUpdatedAt($value)
*/
class Package extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Transaction
*
* @property int $id
* @property int $user_id
* @property string $amount
* @property string|null $wallet_name
* @property string|null $hash
* @property string|null $address
* @property \App\Enums\TransactionStatus $status
* @property string $type
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Models\User $users
* @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 whereAddress($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereAmount($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereHash($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereStatus($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereType($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereUserId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Transaction whereWalletName($value)
*/
class Transaction extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\User
*
* @property int $id
* @property string $first_name
* @property string $last_name
* @property \App\Enums\UserGender|null $gender
* @property string $email
* @property string|null $phone_number
* @property string|null $bio
* @property \App\Enums\UserStatus $status
* @property string|null $address
* @property string $username
* @property string $password
* @property string|null $two_factor_secret
* @property string|null $two_factor_recovery_codes
* @property string|null $two_factor_confirmed_at
* @property int|null $referrer_id
* @property string|null $avatar
* @property \Illuminate\Support\Carbon|null $email_verified_at
* @property string|null $remember_token
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property \App\Enums\UserRole $role
* @property-read string $account_balance
* @property-read string $active_deposit
* @property-read string $full_name
* @property-read string $referral_earnings
* @property-read string $referral_link
* @property-read string $total_deposit
* @property-read string $total_earned
* @property-read string $total_withdrawal
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Investment> $investments
* @property-read int|null $investments_count
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection<int, \Illuminate\Notifications\DatabaseNotification> $notifications
* @property-read int|null $notifications_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \Spatie\Permission\Models\Permission> $permissions
* @property-read int|null $permissions_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, User> $referrals
* @property-read int|null $referrals_count
* @property-read User|null $referrer
* @property-read \Illuminate\Database\Eloquent\Collection<int, \Spatie\Permission\Models\Role> $roles
* @property-read int|null $roles_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \Laravel\Sanctum\PersonalAccessToken> $tokens
* @property-read int|null $tokens_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Transaction> $transactions
* @property-read int|null $transactions_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 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 whereAddress($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereAvatar($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereBio($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 whereFirstName($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 whereLastName($value)
* @method static \Illuminate\Database\Eloquent\Builder|User wherePassword($value)
* @method static \Illuminate\Database\Eloquent\Builder|User wherePhoneNumber($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereReferrerId($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereRememberToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereStatus($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereTwoFactorConfirmedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereTwoFactorRecoveryCodes($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereTwoFactorSecret($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereUsername($value)
*/
class User extends \Eloquent implements \Illuminate\Contracts\Auth\MustVerifyEmail {}
}
namespace App\Models{
/**
* App\Models\UserWallet
*
* @property int $id
* @property int $user_id
* @property string $wallet_name
* @property string $address
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Models\Wallet|null $wallets
* @method static \Illuminate\Database\Eloquent\Builder|UserWallet newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|UserWallet newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|UserWallet query()
* @method static \Illuminate\Database\Eloquent\Builder|UserWallet whereAddress($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserWallet whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserWallet whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserWallet whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserWallet whereUserId($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserWallet whereWalletName($value)
*/
class UserWallet extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Wallet
*
* @property int $id
* @property string $name
* @property string $wallet_address
* @property string $qr_code
* @property \App\Enums\WalletStatus $status
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\UserWallet> $UserWallet
* @property-read int|null $user_wallet_count
* @method static \Illuminate\Database\Eloquent\Builder|Wallet newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Wallet newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Wallet query()
* @method static \Illuminate\Database\Eloquent\Builder|Wallet whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Wallet whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Wallet whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Wallet whereQrCode($value)
* @method static \Illuminate\Database\Eloquent\Builder|Wallet whereStatus($value)
* @method static \Illuminate\Database\Eloquent\Builder|Wallet whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Wallet whereWalletAddress($value)
*/
class Wallet extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Withdrawal
*
* @property int $id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @method static \Illuminate\Database\Eloquent\Builder|Withdrawal newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Withdrawal newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Withdrawal query()
* @method static \Illuminate\Database\Eloquent\Builder|Withdrawal whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Withdrawal whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Withdrawal whereUpdatedAt($value)
*/
class Withdrawal extends \Eloquent {}
}