Issues (1270)

src/Model/User.php (13 issues)

Severity
1
<?php
2
3
declare(strict_types=1);
4
5
namespace RssApp\Model;
6
7
use DateTime;
8
use Doctrine\ORM\Mapping as ORM;
9
use RssApp\Model\Traits\Identified;
10
use RssApp\Model;
11
12
/**
13
 * @ORM\Table(uniqueConstraints={@ORM\UniqueConstraint(name="login", columns={"login"})})
14
 * @ORM\Entity
15
 */
16
class User extends Model
17
{
18
    use Identified;
19
20
    /**
21
     * @var string
22
     *
23
     * @ORM\Column(name="login", type="string", length=120, nullable=false)
24
     */
25
    private $login;
0 ignored issues
show
The private property $login is not used, and could be removed.
Loading history...
26
27
    /**
28
     * @var string
29
     *
30
     * @ORM\Column(name="pwd_hash", type="string", length=250, nullable=false)
31
     */
32
    private $pwdHash;
0 ignored issues
show
The private property $pwdHash is not used, and could be removed.
Loading history...
33
34
    /**
35
     * @var DateTime|null
36
     *
37
     * @ORM\Column(name="last_login", type="datetime", nullable=true)
38
     */
39
    private $lastLogin;
0 ignored issues
show
The private property $lastLogin is not used, and could be removed.
Loading history...
40
41
    /**
42
     * @var int
43
     *
44
     * @ORM\Column(name="access_level", type="integer", nullable=false)
45
     */
46
    private $accessLevel = 0;
0 ignored issues
show
The private property $accessLevel is not used, and could be removed.
Loading history...
47
48
    /**
49
     * @var string
50
     *
51
     * @ORM\Column(name="email", type="string", length=250, nullable=false)
52
     */
53
    private $email = '';
0 ignored issues
show
The private property $email is not used, and could be removed.
Loading history...
54
55
    /**
56
     * @var string
57
     *
58
     * @ORM\Column(name="full_name", type="string", length=250, nullable=false)
59
     */
60
    private $fullName = '';
0 ignored issues
show
The private property $fullName is not used, and could be removed.
Loading history...
61
62
    /**
63
     * @var bool
64
     *
65
     * @ORM\Column(name="email_digest", type="boolean", nullable=false)
66
     */
67
    private $emailDigest = false;
0 ignored issues
show
The private property $emailDigest is not used, and could be removed.
Loading history...
68
69
    /**
70
     * @var DateTime|null
71
     *
72
     * @ORM\Column(name="last_digest_sent", type="datetime", nullable=true)
73
     */
74
    private $lastDigestSent;
0 ignored issues
show
The private property $lastDigestSent is not used, and could be removed.
Loading history...
75
76
    /**
77
     * @var string
78
     *
79
     * @ORM\Column(name="salt", type="string", length=250, nullable=false)
80
     */
81
    private $salt = '';
0 ignored issues
show
The private property $salt is not used, and could be removed.
Loading history...
82
83
    /**
84
     * @var DateTime|null
85
     *
86
     * @ORM\Column(name="created", type="datetime", nullable=true)
87
     */
88
    private $created;
0 ignored issues
show
The private property $created is not used, and could be removed.
Loading history...
89
90
    /**
91
     * @var string|null
92
     *
93
     * @ORM\Column(name="twitter_oauth", type="text", length=0, nullable=true)
94
     */
95
    private $twitterOauth;
0 ignored issues
show
The private property $twitterOauth is not used, and could be removed.
Loading history...
96
97
    /**
98
     * @var bool
99
     *
100
     * @ORM\Column(name="otp_enabled", type="boolean", nullable=false)
101
     */
102
    private $otpEnabled = false;
0 ignored issues
show
The private property $otpEnabled is not used, and could be removed.
Loading history...
103
104
    /**
105
     * @var string|null
106
     *
107
     * @ORM\Column(name="resetpass_token", type="string", length=250, nullable=true)
108
     */
109
    private $resetpassToken;
0 ignored issues
show
The private property $resetpassToken is not used, and could be removed.
Loading history...
110
}
111