engelsystem/src/Models/User/HasUserModel.php

22 lines
446 B
PHP
Raw Normal View History

2018-10-06 14:15:54 +02:00
<?php
namespace Engelsystem\Models\User;
use Engelsystem\Models\BaseModel;
abstract class HasUserModel extends BaseModel
{
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
}