-
Notifications
You must be signed in to change notification settings - Fork 1
/
_ide_helper_models.php
317 lines (302 loc) · 17.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
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
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
<?php
/**
* 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 SmartHome\Domain\Users\Entities{
/**
* SmartHome\Domain\Users\Entities\User
*
* @property string $id
* @property string $name
* @property string $email
* @property string $password
* @property string|null $remember_token
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Users\Entities\User whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Users\Entities\User whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Users\Entities\User whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Users\Entities\User whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Users\Entities\User wherePassword($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Users\Entities\User whereRememberToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Users\Entities\User whereUpdatedAt($value)
*/
class User extends \Eloquent {}
}
namespace SmartHome\Domain\Devices\Entities{
/**
* SmartHome\Domain\Devices\Entities\DevicePropertyLog
*
* @property string $device_property_id
* @property string|null $value
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \SmartHome\Domain\Devices\Entities\DeviceProperty $property
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DevicePropertyLog last24Hours()
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DevicePropertyLog lastMonth()
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DevicePropertyLog lastYear()
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DevicePropertyLog whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DevicePropertyLog whereDevicePropertyId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DevicePropertyLog whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DevicePropertyLog whereValue($value)
*/
class DevicePropertyLog extends \Eloquent {}
}
namespace SmartHome\Domain\Devices\Entities{
/**
* SmartHome\Domain\Devices\Entities\DeviceProperty
*
* @property string $id
* @property string $device_id
* @property string $key
* @property string|null $value
* @property int $position
* @property string|null $name
* @property string|null $description
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \SmartHome\Domain\Devices\Entities\Device $device
* @property-read array $meta
* @property-read null|string $prev_value
* @property-read \Illuminate\Database\Eloquent\Collection|\SmartHome\Domain\Devices\Entities\DevicePropertyLog[] $logs
* @property-read \Illuminate\Database\Eloquent\Collection|\SmartHome\Domain\Rooms\Entities\Room[] $rooms
* @property-read \Illuminate\Database\Eloquent\Collection|\SmartHome\Domain\Scenario\Entities\Scenario[] $scenarios
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DeviceProperty whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DeviceProperty whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DeviceProperty whereDeviceId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DeviceProperty whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DeviceProperty whereKey($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DeviceProperty whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DeviceProperty wherePosition($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DeviceProperty whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DeviceProperty whereValue($value)
*/
class DeviceProperty extends \Eloquent {}
}
namespace SmartHome\Domain\Devices\Entities{
/**
* SmartHome\Domain\Devices\Entities\DeviceLog
*
* @property string $device_id
* @property string|null $message
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \SmartHome\Domain\Devices\Entities\Device $device
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DeviceLog whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DeviceLog whereDeviceId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DeviceLog whereMessage($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\DeviceLog whereUpdatedAt($value)
*/
class DeviceLog extends \Eloquent {}
}
namespace SmartHome\Domain\Devices\Entities{
/**
* SmartHome\Domain\Devices\Entities\Device
*
* @property string $id
* @property string $key
* @property string $type
* @property string|null $name
* @property string|null $description
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property \Carbon\Carbon|null $last_activity
* @property-read string|null $formatted_last_activity
* @property-read \Illuminate\Database\Eloquent\Collection|\SmartHome\Domain\Devices\Entities\DeviceLog[] $logs
* @property-read \Illuminate\Database\Eloquent\Collection|\SmartHome\Domain\Devices\Entities\DeviceProperty[] $properties
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\Device whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\Device whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\Device whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\Device whereKey($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\Device whereLastActivity($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\Device whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\Device whereType($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Devices\Entities\Device whereUpdatedAt($value)
*/
class Device extends \Eloquent {}
}
namespace SmartHome\Domain\Xiaomi\Entities{
/**
* SmartHome\Domain\Xiaomi\Entities\XiaomiLog
*
* @property string $id
* @property string $ip
* @property string $cmd
* @property string|null $model
* @property string $message
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Xiaomi\Entities\XiaomiLog whereCmd($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Xiaomi\Entities\XiaomiLog whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Xiaomi\Entities\XiaomiLog whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Xiaomi\Entities\XiaomiLog whereIp($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Xiaomi\Entities\XiaomiLog whereMessage($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Xiaomi\Entities\XiaomiLog whereModel($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Xiaomi\Entities\XiaomiLog whereUpdatedAt($value)
*/
class XiaomiLog extends \Eloquent {}
}
namespace SmartHome\Domain\Xiaomi\Entities{
/**
* SmartHome\Domain\Xiaomi\Entities\Gateway
*
* @property string $id
* @property string $ip
* @property string|null $token
* @property string $sid
* @property string|null $name
* @property string|null $description
* @property string|null $password
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\SmartHome\Domain\Devices\Entities\Device[] $devices
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Xiaomi\Entities\Gateway whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Xiaomi\Entities\Gateway whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Xiaomi\Entities\Gateway whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Xiaomi\Entities\Gateway whereIp($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Xiaomi\Entities\Gateway whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Xiaomi\Entities\Gateway wherePassword($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Xiaomi\Entities\Gateway whereSid($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Xiaomi\Entities\Gateway whereToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Xiaomi\Entities\Gateway whereUpdatedAt($value)
*/
class Gateway extends \Eloquent {}
}
namespace SmartHome\Domain\Scenario\Entities{
/**
* SmartHome\Domain\Scenario\Entities\ScenarioTrigger
*
* @property string $id
* @property string $device_property_id
* @property string $name
* @property string|null $description
* @property string $condition
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \SmartHome\Domain\Devices\Entities\DeviceProperty $deviceProperty
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\ScenarioTrigger whereCondition($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\ScenarioTrigger whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\ScenarioTrigger whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\ScenarioTrigger whereDevicePropertyId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\ScenarioTrigger whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\ScenarioTrigger whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\ScenarioTrigger whereUpdatedAt($value)
*/
class ScenarioTrigger extends \Eloquent {}
}
namespace SmartHome\Domain\Scenario\Entities{
/**
* SmartHome\Domain\Scenario\Entities\ScenarioAction
*
* @property string $id
* @property string $device_property_id
* @property string $name
* @property string|null $description
* @property string $action
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \SmartHome\Domain\Devices\Entities\DeviceProperty $deviceProperty
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\ScenarioAction whereAction($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\ScenarioAction whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\ScenarioAction whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\ScenarioAction whereDevicePropertyId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\ScenarioAction whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\ScenarioAction whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\ScenarioAction whereUpdatedAt($value)
*/
class ScenarioAction extends \Eloquent {}
}
namespace SmartHome\Domain\Scenario\Entities{
/**
* SmartHome\Domain\Scenario\Entities\Scenario
*
* @property string $id
* @property string $name
* @property string|null $description
* @property int $priority
* @property string|null $cron_expression
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\SmartHome\Domain\Scenario\Entities\ScenarioAction[] $actions
* @property-read \Illuminate\Database\Eloquent\Collection|\SmartHome\Domain\Scenario\Entities\ScenarioTrigger[] $triggers
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\Scenario whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\Scenario whereCronExpression($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\Scenario whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\Scenario whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\Scenario whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\Scenario wherePriority($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Scenario\Entities\Scenario whereUpdatedAt($value)
*/
class Scenario extends \Eloquent {}
}
namespace SmartHome\Domain\Rooms\Entities{
/**
* SmartHome\Domain\Rooms\Entities\Room
*
* @property string $id
* @property string $name
* @property string|null $description
* @property int $position
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\SmartHome\Domain\Devices\Entities\DeviceProperty[] $deviceProperties
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Rooms\Entities\Room whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Rooms\Entities\Room whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Rooms\Entities\Room whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Rooms\Entities\Room whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Rooms\Entities\Room wherePosition($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Rooms\Entities\Room whereUpdatedAt($value)
*/
class Room extends \Eloquent {}
}
namespace SmartHome\Domain\Weather{
/**
* SmartHome\Domain\Weather\Weather
*
* @property string $id
* @property string $icon
* @property float $temp
* @property float $humidity
* @property float $pressure
* @property float $clouds
* @property string $clouds_description
* @property int $weather_id
* @property string $weather_description
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Weather\Weather whereClouds($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Weather\Weather whereCloudsDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Weather\Weather whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Weather\Weather whereHumidity($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Weather\Weather whereIcon($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Weather\Weather whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Weather\Weather wherePressure($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Weather\Weather whereTemp($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Weather\Weather whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Weather\Weather whereWeatherDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Weather\Weather whereWeatherId($value)
*/
class Weather extends \Eloquent {}
}
namespace SmartHome\Domain\Mqtt{
/**
* SmartHome\Domain\Mqtt\MqttLog
*
* @property string $id
* @property string $topic
* @property string $message
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Mqtt\MqttLog whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Mqtt\MqttLog whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Mqtt\MqttLog whereMessage($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Mqtt\MqttLog whereTopic($value)
* @method static \Illuminate\Database\Eloquent\Builder|\SmartHome\Domain\Mqtt\MqttLog whereUpdatedAt($value)
*/
class MqttLog extends \Eloquent {}
}