-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathEventPageUpdate.php
More file actions
43 lines (38 loc) · 1.53 KB
/
EventPageUpdate.php
File metadata and controls
43 lines (38 loc) · 1.53 KB
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
<?php
namespace App;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
/**
* App\EventPageUpdate.
*
* @property int $id
* @property int $wiki_id
* @property string $title
* @property int $namespace
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Wiki $wiki
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\EventPageUpdate newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\EventPageUpdate newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\EventPageUpdate query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\EventPageUpdate whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\EventPageUpdate whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\EventPageUpdate whereNamespace($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\EventPageUpdate whereTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\EventPageUpdate whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\EventPageUpdate whereWikiId($value)
*
* @mixin \Eloquent
*/
class EventPageUpdate extends Model {
use HasFactory;
protected $fillable = [
'wiki_id',
'title',
'namespace',
];
public function wiki(): \Illuminate\Database\Eloquent\Relations\BelongsTo {
return $this->belongsTo(Wiki::class);
}
}