| 2 |
lars |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
namespace App\Models;
|
|
|
4 |
|
|
|
5 |
use Illuminate\Database\Eloquent\Model;
|
| 343 |
lars |
6 |
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
| 2 |
lars |
7 |
|
| 415 |
lars |
8 |
/**
|
|
|
9 |
* App\Models\UserProperty
|
|
|
10 |
*
|
|
|
11 |
* @property int $id
|
|
|
12 |
* @property int|null $backend_user_id
|
|
|
13 |
* @property int|null $property_id
|
|
|
14 |
* @property-read \App\Models\Property|null $Property
|
|
|
15 |
* @method static \Illuminate\Database\Eloquent\Builder|UserProperty newModelQuery()
|
|
|
16 |
* @method static \Illuminate\Database\Eloquent\Builder|UserProperty newQuery()
|
|
|
17 |
* @method static \Illuminate\Database\Eloquent\Builder|UserProperty query()
|
|
|
18 |
* @method static \Illuminate\Database\Eloquent\Builder|UserProperty whereBackendUserId($value)
|
|
|
19 |
* @method static \Illuminate\Database\Eloquent\Builder|UserProperty whereId($value)
|
|
|
20 |
* @method static \Illuminate\Database\Eloquent\Builder|UserProperty wherePropertyId($value)
|
|
|
21 |
* @mixin \Eloquent
|
|
|
22 |
*/
|
|
|
23 |
class UserProperty extends Model
|
| 2 |
lars |
24 |
{
|
| 343 |
lars |
25 |
public function Property(): BelongsTo
|
|
|
26 |
{
|
|
|
27 |
return $this->belongsTo( Property::class );
|
|
|
28 |
}
|
| 2 |
lars |
29 |
|
|
|
30 |
}
|