summaryrefslogtreecommitdiff
path: root/src/Models/User/PasswordReset.php
blob: 6e19a2dbadd8923023599c39eebc72390bfbce15 (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 Carbon\Carbon;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Query\Builder as QueryBuilder;

/**
 * @property string      $token
 * @property Carbon|null $created_at
 *
 * @method static QueryBuilder|Collection|PasswordReset[] whereToken($value)
 * @method static QueryBuilder|Collection|PasswordReset[] whereCreatedAt($value)
 */
class PasswordReset extends HasUserModel
{
    /** @var bool enable timestamps for created_at */
    public $timestamps = true;

    /** @var null Disable updated_at */
    const UPDATED_AT = null;

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