Storicomodifiche   A
last analyzed

Complexity

Total Complexity 15

Size/Duplication

Total Lines 219
Duplicated Lines 0 %

Test Coverage

Coverage 54.05%

Importance

Changes 0
Metric Value
wmc 15
eloc 31
dl 0
loc 219
ccs 20
cts 37
cp 0.5405
rs 10
c 0
b 0
f 0

15 Methods

Rating   Name   Duplication   Size   Complexity  
A setGiorno() 0 5 1
A getIdtabella() 0 3 1
A getGiorno() 0 3 1
A setOperatori() 0 5 1
A setNomecampo() 0 5 1
A getOperatori() 0 3 1
A setNometabella() 0 5 1
A setValoreprecedente() 0 5 1
A getValoreprecedente() 0 3 1
A getOperatoriId() 0 3 1
A getId() 0 3 1
A setIdtabella() 0 5 1
A setOperatoriId() 0 5 1
A getNomecampo() 0 3 1
A getNometabella() 0 3 1
1
<?php
2
3
namespace Fi\CoreBundle\Entity;
4
5
use DateTime;
6
7
/**
8
 * Storicomodifiche
9
 */
10
class Storicomodifiche
11
{
12
    /**
13
     * @var integer
14
     */
15
    private $id;
16
17
    /**
18
     * @var string
19
     */
20
    private $nometabella;
21
22
    /**
23
     * @var string
24
     */
25
    private $nomecampo;
26
27
    /**
28
     * @var integer
29
     */
30
    private $idtabella;
31
32
    /**
33
     * @var DateTime
34
     */
35
    private $giorno;
36
37
    /**
38
     * @var string
39
     */
40
    private $valoreprecedente;
41
42
43
    /**
44
     * Get id
45
     *
46
     * @return integer
47
     */
48
    public function getId()
49
    {
50
        return $this->id;
51
    }
52
53
    /**
54
     * Set nometabella
55
     *
56
     * @param string $nometabella
57
     *
58
     * @return Storicomodifiche
59
     */
60 1
    public function setNometabella($nometabella)
61
    {
62 1
        $this->nometabella = $nometabella;
63
64 1
        return $this;
65
    }
66
67
    /**
68
     * Get nometabella
69
     *
70
     * @return string
71
     */
72
    public function getNometabella()
73
    {
74
        return $this->nometabella;
75
    }
76
77
    /**
78
     * Set nomecampo
79
     *
80
     * @param string $nomecampo
81
     *
82
     * @return Storicomodifiche
83
     */
84 1
    public function setNomecampo($nomecampo)
85
    {
86 1
        $this->nomecampo = $nomecampo;
87
88 1
        return $this;
89
    }
90
91
    /**
92
     * Get nomecampo
93
     *
94
     * @return string
95
     */
96
    public function getNomecampo()
97
    {
98
        return $this->nomecampo;
99
    }
100
101
    /**
102
     * Set idtabella
103
     *
104
     * @param integer $idtabella
105
     *
106
     * @return Storicomodifiche
107
     */
108 1
    public function setIdtabella($idtabella)
109
    {
110 1
        $this->idtabella = $idtabella;
111
112 1
        return $this;
113
    }
114
115
    /**
116
     * Get idtabella
117
     *
118
     * @return integer
119
     */
120
    public function getIdtabella()
121
    {
122
        return $this->idtabella;
123
    }
124
125
    /**
126
     * Set giorno
127
     *
128
     * @param DateTime $giorno
129
     *
130
     * @return Storicomodifiche
131
     */
132 1
    public function setGiorno($giorno)
133
    {
134 1
        $this->giorno = $giorno;
135
136 1
        return $this;
137
    }
138
139
    /**
140
     * Get giorno
141
     *
142
     * @return DateTime
143
     */
144
    public function getGiorno()
145
    {
146
        return $this->giorno;
147
    }
148
149
    /**
150
     * Set valoreprecedente
151
     *
152
     * @param string $valoreprecedente
153
     *
154
     * @return Storicomodifiche
155
     */
156 1
    public function setValoreprecedente($valoreprecedente)
157
    {
158 1
        $this->valoreprecedente = $valoreprecedente;
159
160 1
        return $this;
161
    }
162
163
    /**
164
     * Get valoreprecedente
165
     *
166
     * @return string
167
     */
168 1
    public function getValoreprecedente()
169
    {
170 1
        return $this->valoreprecedente;
171
    }
172
    /**
173
     * @var integer
174
     */
175
    private $operatori_id;
176
177
    /**
178
     * @var Operatori
179
     */
180
    private $operatori;
181
182
183
    /**
184
     * Set operatoriId
185
     *
186
     * @param integer $operatoriId
187
     *
188
     * @return Storicomodifiche
189
     */
190
    public function setOperatoriId($operatoriId)
191
    {
192
        $this->operatori_id = $operatoriId;
193
194
        return $this;
195
    }
196
197
    /**
198
     * Get operatoriId
199
     *
200
     * @return integer
201
     */
202
    public function getOperatoriId()
203
    {
204
        return $this->operatori_id;
205
    }
206
207
    /**
208
     * Set operatori
209
     *
210
     * @param Operatori $operatori
211
     *
212
     * @return Storicomodifiche
213
     */
214 1
    public function setOperatori(Operatori $operatori = null)
215
    {
216 1
        $this->operatori = $operatori;
217
218 1
        return $this;
219
    }
220
221
    /**
222
     * Get operatori
223
     *
224
     * @return Operatori
225
     */
226
    public function getOperatori()
227
    {
228
        return $this->operatori;
229
    }
230
}
231