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

namespace Engelsystem\Models\User;

use Illuminate\Database\Query\Builder as QueryBuilder;

/**
 * @property string|null $dect
 * @property string|null $email
 * @property string|null $mobile
 *
 * @method static QueryBuilder|Contact[] whereDect($value)
 * @method static QueryBuilder|Contact[] whereEmail($value)
 * @method static QueryBuilder|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',
    ];
}