Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
PasswordReset
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5namespace Engelsystem\Models\User;
6
7use Carbon\Carbon;
8use Illuminate\Database\Eloquent\Factories\HasFactory;
9use Illuminate\Database\Query\Builder as QueryBuilder;
10
11/**
12 * @property string      $token
13 * @property Carbon|null $created_at
14 *
15 * @method static QueryBuilder|PasswordReset[] whereToken($value)
16 * @method static QueryBuilder|PasswordReset[] whereCreatedAt($value)
17 */
18class PasswordReset extends HasUserModel
19{
20    use HasFactory;
21
22    /** @var bool enable timestamps for created_at */
23    public $timestamps = true; // phpcs:ignore
24
25    /** @var null Disable updated_at */
26    public const UPDATED_AT = null;
27
28    /**
29     * The attributes that are mass assignable.
30     *
31     * @var array<string>
32     */
33    protected $fillable = [ // phpcs:ignore
34        'user_id',
35        'token',
36    ];
37}