summaryrefslogtreecommitdiff
path: root/src/Models/User/Settings.php
blob: 0fe213eb1c4f51bc5d60f186af95e26683f4cc96 (plain)
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
<?php

namespace Engelsystem\Models\User;

use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Query\Builder as QueryBuilder;

/**
 * @property string $language
 * @property int    $theme
 * @property bool   $email_human
 * @property bool   $email_shiftinfo
 *
 * @method static QueryBuilder|Collection|Settings[] whereLanguage($value)
 * @method static QueryBuilder|Collection|Settings[] whereTheme($value)
 * @method static QueryBuilder|Collection|Settings[] whereEmailHuman($value)
 * @method static QueryBuilder|Collection|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',
    ];
}