Issues (1270)

src/Model/Entry.php (15 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;
10
use RssApp\Model\Traits\Identified;
11
12
/**
13
 * @ORM\Table(uniqueConstraints={@ORM\UniqueConstraint(name="guid", columns={"guid"})}, indexes={@ORM\Index(name="ttrss_entries_updated_idx", columns={"updated"}), @ORM\Index(name="ttrss_entries_date_entered_index", columns={"date_entered"})})
14
 * @ORM\Entity
15
 */
16
class Entry extends Model
17
{
18
    use Identified;
19
20
    /**
21
     * @var string
22
     *
23
     * @ORM\Column(name="title", type="text", length=65535, nullable=false)
24
     */
25
    private $title;
0 ignored issues
show
The private property $title is not used, and could be removed.
Loading history...
26
27
    /**
28
     * @var string
29
     *
30
     * @ORM\Column(name="guid", type="string", length=255, nullable=false)
31
     */
32
    private $guid;
0 ignored issues
show
The private property $guid is not used, and could be removed.
Loading history...
33
34
    /**
35
     * @var string
36
     *
37
     * @ORM\Column(name="link", type="text", length=65535, nullable=false)
38
     */
39
    private $link;
0 ignored issues
show
The private property $link is not used, and could be removed.
Loading history...
40
41
    /**
42
     * @var DateTime
43
     *
44
     * @ORM\Column(name="updated", type="datetime", nullable=false)
45
     */
46
    private $updated;
0 ignored issues
show
The private property $updated is not used, and could be removed.
Loading history...
47
48
    /**
49
     * @var string
50
     *
51
     * @ORM\Column(name="content", type="text", length=0, nullable=false)
52
     */
53
    private $content;
0 ignored issues
show
The private property $content is not used, and could be removed.
Loading history...
54
55
    /**
56
     * @var string
57
     *
58
     * @ORM\Column(name="content_hash", type="string", length=250, nullable=false)
59
     */
60
    private $contentHash;
0 ignored issues
show
The private property $contentHash is not used, and could be removed.
Loading history...
61
62
    /**
63
     * @var string|null
64
     *
65
     * @ORM\Column(name="cached_content", type="text", length=0, nullable=true)
66
     */
67
    private $cachedContent;
0 ignored issues
show
The private property $cachedContent is not used, and could be removed.
Loading history...
68
69
    /**
70
     * @var bool
71
     *
72
     * @ORM\Column(name="no_orig_date", type="boolean", nullable=false)
73
     */
74
    private $noOrigDate = false;
0 ignored issues
show
The private property $noOrigDate is not used, and could be removed.
Loading history...
75
76
    /**
77
     * @var DateTime
78
     *
79
     * @ORM\Column(name="date_entered", type="datetime", nullable=false)
80
     */
81
    private $dateEntered;
0 ignored issues
show
The private property $dateEntered is not used, and could be removed.
Loading history...
82
83
    /**
84
     * @var DateTime
85
     *
86
     * @ORM\Column(name="date_updated", type="datetime", nullable=false)
87
     */
88
    private $dateUpdated;
0 ignored issues
show
The private property $dateUpdated is not used, and could be removed.
Loading history...
89
90
    /**
91
     * @var int
92
     *
93
     * @ORM\Column(name="num_comments", type="integer", nullable=false)
94
     */
95
    private $numComments = 0;
0 ignored issues
show
The private property $numComments is not used, and could be removed.
Loading history...
96
97
    /**
98
     * @var string|null
99
     *
100
     * @ORM\Column(name="plugin_data", type="text", length=0, nullable=true)
101
     */
102
    private $pluginData;
0 ignored issues
show
The private property $pluginData is not used, and could be removed.
Loading history...
103
104
    /**
105
     * @var string|null
106
     *
107
     * @ORM\Column(name="lang", type="string", length=2, nullable=true)
108
     */
109
    private $lang;
0 ignored issues
show
The private property $lang is not used, and could be removed.
Loading history...
110
111
    /**
112
     * @var string
113
     *
114
     * @ORM\Column(name="comments", type="string", length=250, nullable=false)
115
     */
116
    private $comments = '';
0 ignored issues
show
The private property $comments is not used, and could be removed.
Loading history...
117
118
    /**
119
     * @var string
120
     *
121
     * @ORM\Column(name="author", type="string", length=250, nullable=false)
122
     */
123
    private $author = '';
0 ignored issues
show
The private property $author is not used, and could be removed.
Loading history...
124
}
125