-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_ide_helper_models.php
124 lines (118 loc) · 5.78 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
<?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 <barryvdh@gmail.com>
*/
namespace App\Models{
/**
* App\Models\Group
*
* @property int $id
* @property string $name
* @property string $iconURL
* @property string $created_at
* @property int $owner_id
* @method static find(int $id)
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\User> $users
* @property-read int|null $users_count
* @method static \Database\Factories\GroupFactory factory($count = null, $state = [])
* @method static \Illuminate\Database\Eloquent\Builder|Group newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Group newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Group query()
* @method static \Illuminate\Database\Eloquent\Builder|Group whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Group whereIconURL($value)
* @method static \Illuminate\Database\Eloquent\Builder|Group whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Group whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Group whereOwnerId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Group whereUpdatedAt($value)
* @mixin \Eloquent
*/
class IdeHelperGroup {}
}
namespace App\Models{
/**
* App\Models\Message
*
* @property int $id
* @property string|null $content
* @property int $sender_id
* @property int $receiver_id
* @property int|null $reply
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property int $encrypted
* @property string|null $encrypt_key
* @method static \Database\Factories\MessageFactory factory($count = null, $state = [])
* @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 whereEncryptKey($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereEncrypted($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereReceiverId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereReply($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereSenderId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Message whereUpdatedAt($value)
* @mixin \Eloquent
*/
class IdeHelperMessage {}
}
namespace App\Models{
/**
* App\Models\User
*
* @property int $id
* @method static create(array $array)
* @method static find(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 \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property string $uuid
* @property string|null $avatar
* @property string $banner
* @property string|null $biography
* @property string|null $daily_status
* @property-read \Illuminate\Database\Eloquent\Collection<int, User> $followers
* @property-read int|null $followers_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, User> $followings
* @property-read int|null $followings_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Group> $groups
* @property-read int|null $groups_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Message> $messages
* @property-read int|null $messages_count
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection<int, \Illuminate\Notifications\DatabaseNotification> $notifications
* @property-read int|null $notifications_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \Laravel\Sanctum\PersonalAccessToken> $tokens
* @property-read int|null $tokens_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 query()
* @method static \Illuminate\Database\Eloquent\Builder|User whereAvatar($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereBanner($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereBiography($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereDailyStatus($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 whereRememberToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereUuid($value)
* @mixin \Eloquent
*/
class IdeHelperUser {}
}