-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_ide_helper_models.php
162 lines (154 loc) · 7.38 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
<?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{
/**
* App\Author
*
* @property int $id
* @property string $first_name
* @property string $last_name
* @property string|null $pseudonym
* @property string|null $birth_date
* @property string|null $death_date
* @property string $ol_author_key
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Book[] $books
* @property-read int|null $books_count
* @method static \Illuminate\Database\Eloquent\Builder|Author newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Author newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Author query()
* @method static \Illuminate\Database\Eloquent\Builder|Author whereBirthDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|Author whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Author whereDeathDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|Author whereFirstName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Author whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Author whereLastName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Author whereOlAuthorKey($value)
* @method static \Illuminate\Database\Eloquent\Builder|Author wherePseudonym($value)
* @method static \Illuminate\Database\Eloquent\Builder|Author whereUpdatedAt($value)
*/
class Author extends \Eloquent {}
}
namespace App{
/**
* App\Book
*
* @property int $id
* @property string $title
* @property string|null $blurb
* @property string|null $cover
* @property string $url
* @property string $ol_work_key
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Author[] $authors
* @property-read int|null $authors_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Edition[] $editions
* @property-read int|null $editions_count
* @method static \Illuminate\Database\Eloquent\Builder|Book newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Book newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Book query()
* @method static \Illuminate\Database\Eloquent\Builder|Book whereBlurb($value)
* @method static \Illuminate\Database\Eloquent\Builder|Book whereCover($value)
* @method static \Illuminate\Database\Eloquent\Builder|Book whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Book whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Book whereOlWorkKey($value)
* @method static \Illuminate\Database\Eloquent\Builder|Book whereTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|Book whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Book whereUrl($value)
*/
class Book extends \Eloquent {}
}
namespace App{
/**
* App\Edition
*
* @property int $id
* @property string|null $isbn13
* @property string|null $isbn10
* @property int $publisher_id
* @property int $book_id
* @property string|null $publish_date
* @property int|null $pages
* @property int $format
* @property string|null $goodreads
* @property string $ol_edition_key
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Book $book
* @property-read string $format_description
* @property-read \App\Publisher $publisher
* @method static \Illuminate\Database\Eloquent\Builder|Edition newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Edition newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Edition query()
* @method static \Illuminate\Database\Eloquent\Builder|Edition whereBookId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Edition whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Edition whereFormat($value)
* @method static \Illuminate\Database\Eloquent\Builder|Edition whereGoodreads($value)
* @method static \Illuminate\Database\Eloquent\Builder|Edition whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Edition whereIsbn10($value)
* @method static \Illuminate\Database\Eloquent\Builder|Edition whereIsbn13($value)
* @method static \Illuminate\Database\Eloquent\Builder|Edition whereOlEditionKey($value)
* @method static \Illuminate\Database\Eloquent\Builder|Edition wherePages($value)
* @method static \Illuminate\Database\Eloquent\Builder|Edition wherePublishDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|Edition wherePublisherId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Edition whereUpdatedAt($value)
*/
class Edition extends \Eloquent {}
}
namespace App{
/**
* App\Publisher
*
* @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\Edition[] $editions
* @property-read int|null $editions_count
* @method static \Illuminate\Database\Eloquent\Builder|Publisher newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Publisher newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Publisher query()
* @method static \Illuminate\Database\Eloquent\Builder|Publisher whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Publisher whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Publisher whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Publisher whereUpdatedAt($value)
*/
class Publisher 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 \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
* @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 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 whereRememberToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereUpdatedAt($value)
*/
class User extends \Eloquent {}
}