2018-10-06 14:15:54 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Engelsystem\Models\User;
|
|
|
|
|
|
|
|
use Engelsystem\Models\BaseModel;
|
|
|
|
|
|
|
|
abstract class HasUserModel extends BaseModel
|
|
|
|
{
|
2019-11-03 00:25:35 +01:00
|
|
|
use UsesUserModel;
|
|
|
|
|
2018-10-06 14:15:54 +02:00
|
|
|
/** @var string The primary key for the model */
|
|
|
|
protected $primaryKey = 'user_id';
|
|
|
|
|
|
|
|
/** The attributes that are mass assignable */
|
|
|
|
protected $fillable = [
|
|
|
|
'user_id',
|
|
|
|
];
|
|
|
|
|
2018-10-28 16:54:15 +01:00
|
|
|
/** The relationships that should be touched on save */
|
|
|
|
protected $touches = ['user'];
|
2018-10-06 14:15:54 +02:00
|
|
|
}
|