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

namespace Engelsystem\Models\User;

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

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