summaryrefslogtreecommitdiff
path: root/src/Models/User/State.php
blob: 6a1876ed7e82fc4f43c826252c4fa85c474216b4 (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;

/**
 * @property bool $arrived
 * @property bool $active
 * @property bool $force_active
 * @property bool $got_shirt
 * @property int  $got_voucher
 *
 * @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\State whereArrived($value)
 * @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\State whereActive($value)
 * @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\State whereForceActive($value)
 * @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\State whereGotShirt($value)
 * @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\State whereGotVoucher($value)
 */
class State extends HasUserModel
{
    /** @var string The table associated with the model */
    protected $table = 'users_state';

    /** The attributes that are mass assignable */
    protected $fillable = [
        'user_id',
        'arrived',
        'active',
        'force_active',
        'got_shirt',
        'got_voucher',
    ];
}