Category   A
last analyzed

Complexity

Total Complexity 31

Size/Duplication

Total Lines 267
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 63
c 1
b 0
f 0
dl 0
loc 267
rs 9.92
wmc 31

31 Methods

Rating   Name   Duplication   Size   Complexity  
A setCrosssellingtitle1() 0 5 1
A getShortdesc() 0 3 1
A getActive() 0 3 1
A setLongdesc() 0 5 1
A setHidden() 0 5 1
A getTemplate() 0 3 1
A getAsySetcategory() 0 3 1
A getCrosssellingtitle() 0 3 1
A setShortdesc() 0 5 1
A getCmiuuid() 0 3 1
A getCrosssellingtitle1() 0 3 1
A setAsySetcategory() 0 5 1
A getCatDesc() 0 3 1
A getParentid() 0 3 1
A setTitle() 0 5 1
A getHidden() 0 3 1
A getSort() 0 3 1
A getAsyCattype() 0 3 1
A getLongdesc() 0 3 1
A setActive() 0 5 1
A setCmiuuid() 0 5 1
A setParentid() 0 5 1
A setSort() 0 5 1
A getTitle() 0 3 1
A setCatDesc() 0 5 1
A setAsyCattype() 0 5 1
A getId() 0 3 1
A setCrosssellingtitle() 0 5 1
A setCrosssellingtitle2() 0 5 1
A getCrosssellingtitle2() 0 3 1
A setTemplate() 0 5 1
1
<?php
2
3
namespace App\Entity;
4
5
use App\Repository\CategoryRepository;
6
use Doctrine\ORM\Mapping as ORM;
7
8
/**
9
 * @ORM\Entity(repositoryClass=CategoryRepository::class)
10
 */
11
class Category
12
{
13
    /**
14
     * @ORM\Id()
15
     * @ORM\GeneratedValue()
16
     * @ORM\Column(type="integer")
17
     */
18
    private $id;
19
20
    /**
21
     * @ORM\Column(type="string", length=255, nullable=true)
22
     */
23
    private $cmiuuid;
24
25
    /**
26
     * @ORM\Column(type="string", nullable=true)
27
     */
28
    private $parentid;
29
30
    /**
31
     * @ORM\Column(type="string", length=255, nullable=true)
32
     */
33
    private $title;
34
35
    /**
36
     * @ORM\Column(type="integer", nullable=true)
37
     */
38
    private $sort;
39
40
    /**
41
     * @ORM\Column(type="boolean", nullable=true)
42
     */
43
    private $active;
44
45
    /**
46
     * @ORM\Column(type="boolean", nullable=true)
47
     */
48
    private $hidden;
49
50
    /**
51
     * @ORM\Column(type="string", length=255, nullable=true)
52
     */
53
    private $template;
54
55
    /**
56
     * @ORM\Column(type="integer", nullable=true)
57
     */
58
    private $asy_cattype;
59
60
    /**
61
     * @ORM\Column(type="string", length=255, nullable=true)
62
     */
63
    private $crosssellingtitle;
64
65
    /**
66
     * @ORM\Column(type="string", length=255, nullable=true)
67
     */
68
    private $crosssellingtitle_1;
69
70
    /**
71
     * @ORM\Column(type="string", length=255, nullable=true)
72
     */
73
    private $crosssellingtitle_2;
74
75
    /**
76
     * @ORM\Column(type="boolean", nullable=true)
77
     */
78
    private $asy_setcategory;
79
80
    /**
81
     * @ORM\Column(type="string", length=255, nullable=true)
82
     */
83
    private $cat_desc;
84
85
    /**
86
     * @ORM\Column(type="string", length=255, nullable=true)
87
     */
88
    private $shortdesc;
89
90
    /**
91
     * @ORM\Column(type="text", nullable=true)
92
     */
93
    private $longdesc;
94
95
    public function getId(): ?int
96
    {
97
        return $this->id;
98
    }
99
100
    public function getCmiuuid(): ?string
101
    {
102
        return $this->cmiuuid;
103
    }
104
105
    public function setCmiuuid(?string $cmiuuid): self
106
    {
107
        $this->cmiuuid = $cmiuuid;
108
109
        return $this;
110
    }
111
112
    public function getParentid(): ?string
113
    {
114
        return $this->parentid;
115
    }
116
117
    public function setParentid(?string $parentid): self
118
    {
119
        $this->parentid = $parentid;
120
121
        return $this;
122
    }
123
124
    public function getTitle(): ?string
125
    {
126
        return $this->title;
127
    }
128
129
    public function setTitle(?string $title): self
130
    {
131
        $this->title = $title;
132
133
        return $this;
134
    }
135
136
    public function getSort(): ?int
137
    {
138
        return $this->sort;
139
    }
140
141
    public function setSort(?int $sort): self
142
    {
143
        $this->sort = $sort;
144
145
        return $this;
146
    }
147
148
    public function getActive(): ?bool
149
    {
150
        return $this->active;
151
    }
152
153
    public function setActive(?bool $active): self
154
    {
155
        $this->active = $active;
156
157
        return $this;
158
    }
159
160
    public function getHidden(): ?bool
161
    {
162
        return $this->hidden;
163
    }
164
165
    public function setHidden(?bool $hidden): self
166
    {
167
        $this->hidden = $hidden;
168
169
        return $this;
170
    }
171
172
    public function getTemplate(): ?string
173
    {
174
        return $this->template;
175
    }
176
177
    public function setTemplate(?string $template): self
178
    {
179
        $this->template = $template;
180
181
        return $this;
182
    }
183
184
    public function getAsyCattype(): ?int
185
    {
186
        return $this->asy_cattype;
187
    }
188
189
    public function setAsyCattype(?int $asy_cattype): self
190
    {
191
        $this->asy_cattype = $asy_cattype;
192
193
        return $this;
194
    }
195
196
    public function getCrosssellingtitle(): ?string
197
    {
198
        return $this->crosssellingtitle;
199
    }
200
201
    public function setCrosssellingtitle(?string $crosssellingtitle): self
202
    {
203
        $this->crosssellingtitle = $crosssellingtitle;
204
205
        return $this;
206
    }
207
208
    public function getCrosssellingtitle1(): ?string
209
    {
210
        return $this->crosssellingtitle_1;
211
    }
212
213
    public function setCrosssellingtitle1(?string $crosssellingtitle_1): self
214
    {
215
        $this->crosssellingtitle_1 = $crosssellingtitle_1;
216
217
        return $this;
218
    }
219
220
    public function getCrosssellingtitle2(): ?string
221
    {
222
        return $this->crosssellingtitle_2;
223
    }
224
225
    public function setCrosssellingtitle2(?string $crosssellingtitle_2): self
226
    {
227
        $this->crosssellingtitle_2 = $crosssellingtitle_2;
228
229
        return $this;
230
    }
231
232
    public function getAsySetcategory(): ?bool
233
    {
234
        return $this->asy_setcategory;
235
    }
236
237
    public function setAsySetcategory(?bool $asy_setcategory): self
238
    {
239
        $this->asy_setcategory = $asy_setcategory;
240
241
        return $this;
242
    }
243
244
    public function getCatDesc(): ?string
245
    {
246
        return $this->cat_desc;
247
    }
248
249
    public function setCatDesc(?string $cat_desc): self
250
    {
251
        $this->cat_desc = $cat_desc;
252
253
        return $this;
254
    }
255
256
    public function getShortdesc(): ?string
257
    {
258
        return $this->shortdesc;
259
    }
260
261
    public function setShortdesc(?string $shortdesc): self
262
    {
263
        $this->shortdesc = $shortdesc;
264
265
        return $this;
266
    }
267
268
    public function getLongdesc(): ?string
269
    {
270
        return $this->longdesc;
271
    }
272
273
    public function setLongdesc(?string $longdesc): self
274
    {
275
        $this->longdesc = $longdesc;
276
277
        return $this;
278
    }
279
}
280