summaryrefslogtreecommitdiff
path: root/src/Models/User/Contact.php
blob: 9b4bdb2b4476386877bad68059449ec473521fc0 (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
<?php

namespace Engelsystem\Models\User;

/**
 * @property string|null $dect
 * @property string|null $email
 * @property string|null $mobile
 *
 * @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\Contact[] whereDect($value)
 * @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\Contact[] whereEmail($value)
 * @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\Contact[] whereMobile($value)
 */
class Contact extends HasUserModel
{
    /** @var string The table associated with the model */
    protected $table = 'users_contact';

    /** The attributes that are mass assignable */
    protected $fillable = [
        'user_id',
        'dect',
        'email',
        'mobile',
    ];
}