| 2 |
lars |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
namespace App\Models;
|
|
|
4 |
|
|
|
5 |
use Illuminate\Database\Eloquent\Model;
|
|
|
6 |
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
|
|
7 |
|
| 415 |
lars |
8 |
/**
|
|
|
9 |
* App\Models\WebProperty
|
|
|
10 |
*
|
|
|
11 |
* @property int $ID
|
|
|
12 |
* @property int $web_id
|
|
|
13 |
* @property int $property_id
|
|
|
14 |
* @property string $Bezeichnung
|
|
|
15 |
* @property-read \App\Models\Property $Property
|
|
|
16 |
* @method static \Illuminate\Database\Eloquent\Builder|WebProperty newModelQuery()
|
|
|
17 |
* @method static \Illuminate\Database\Eloquent\Builder|WebProperty newQuery()
|
|
|
18 |
* @method static \Illuminate\Database\Eloquent\Builder|WebProperty query()
|
|
|
19 |
* @method static \Illuminate\Database\Eloquent\Builder|WebProperty whereBezeichnung($value)
|
|
|
20 |
* @method static \Illuminate\Database\Eloquent\Builder|WebProperty whereID($value)
|
|
|
21 |
* @method static \Illuminate\Database\Eloquent\Builder|WebProperty wherePropertyId($value)
|
|
|
22 |
* @method static \Illuminate\Database\Eloquent\Builder|WebProperty whereWebId($value)
|
|
|
23 |
* @mixin \Eloquent
|
|
|
24 |
*/
|
|
|
25 |
class WebProperty extends Model
|
| 2 |
lars |
26 |
{
|
|
|
27 |
protected $connection = "cms";
|
|
|
28 |
|
|
|
29 |
public function Property(): BelongsTo
|
|
|
30 |
{
|
|
|
31 |
return $this->belongsTo( Property::class );
|
|
|
32 |
}
|
|
|
33 |
}
|