2020-09-06 23:50:36 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace Engelsystem\Models;
|
|
|
|
|
|
|
|
use Carbon\Carbon;
|
2021-07-10 00:59:20 +02:00
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
2020-09-06 23:50:36 +02:00
|
|
|
use Illuminate\Database\Query\Builder as QueryBuilder;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @property int $id
|
|
|
|
* @property string $name
|
|
|
|
* @property string $map_url
|
|
|
|
* @property string $description
|
2022-10-18 17:34:08 +02:00
|
|
|
* @property string $dect
|
2020-09-06 23:50:36 +02:00
|
|
|
* @property Carbon|null $created_at
|
|
|
|
* @property Carbon|null $updated_at
|
|
|
|
*
|
|
|
|
* @method static QueryBuilder|Room[] whereId($value)
|
|
|
|
* @method static QueryBuilder|Room[] whereName($value)
|
|
|
|
* @method static QueryBuilder|Room[] whereMapUrl($value)
|
2022-10-16 17:29:34 +02:00
|
|
|
* @method static QueryBuilder|Room[] whereDect($value)
|
2020-09-06 23:50:36 +02:00
|
|
|
* @method static QueryBuilder|Room[] whereDescription($value)
|
|
|
|
* @method static QueryBuilder|Room[] whereCreatedAt($value)
|
|
|
|
* @method static QueryBuilder|Room[] whereUpdatedAt($value)
|
|
|
|
*/
|
|
|
|
class Room extends BaseModel
|
|
|
|
{
|
2021-07-10 00:59:20 +02:00
|
|
|
use HasFactory;
|
|
|
|
|
2020-09-06 23:50:36 +02:00
|
|
|
/** @var bool Enable timestamps */
|
|
|
|
public $timestamps = true;
|
|
|
|
|
|
|
|
/** @var array */
|
|
|
|
protected $fillable = [
|
|
|
|
'name',
|
2022-10-18 17:34:08 +02:00
|
|
|
'dect',
|
2020-09-06 23:50:36 +02:00
|
|
|
'map_url',
|
|
|
|
'description',
|
|
|
|
];
|
|
|
|
}
|