blob: 2b7fdda90725176c14d4887335fe7899eaa6099b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
namespace Engelsystem\Models\User;
use Engelsystem\Models\BaseModel;
abstract class HasUserModel extends BaseModel
{
use UsesUserModel;
/** @var string The primary key for the model */
protected $primaryKey = 'user_id';
/** The attributes that are mass assignable */
protected $fillable = [
'user_id',
];
/** The relationships that should be touched on save */
protected $touches = ['user'];
}
|