You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
831 B
PHP
32 lines
831 B
PHP
<?php
|
|
|
|
namespace Engelsystem\Models\User;
|
|
|
|
use Illuminate\Database\Query\Builder as QueryBuilder;
|
|
|
|
/**
|
|
* @property string $language
|
|
* @property int $theme
|
|
* @property bool $email_human
|
|
* @property bool $email_shiftinfo
|
|
*
|
|
* @method static QueryBuilder|Settings[] whereLanguage($value)
|
|
* @method static QueryBuilder|Settings[] whereTheme($value)
|
|
* @method static QueryBuilder|Settings[] whereEmailHuman($value)
|
|
* @method static QueryBuilder|Settings[] whereEmailShiftinfo($value)
|
|
*/
|
|
class Settings extends HasUserModel
|
|
{
|
|
/** @var string The table associated with the model */
|
|
protected $table = 'users_settings';
|
|
|
|
/** The attributes that are mass assignable */
|
|
protected $fillable = [
|
|
'user_id',
|
|
'language',
|
|
'theme',
|
|
'email_human',
|
|
'email_shiftinfo',
|
|
];
|
|
}
|