Completed
Push — master ( 497c09...65721c )
by WEBEWEB
01:39
created

RepositoryReport::setColumn()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
/*
4
 * This file is part of the core-bundle package.
5
 *
6
 * (c) 2019 WEBEWEB
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Bundle\CoreBundle\Model;
13
14
/**
15
 * Repository report.
16
 *
17
 * @author webeweb <https://github.com/webeweb/>
18
 * @package WBW\Bundle\CoreBundle\Model
19
 */
20
class RepositoryReport {
21
22
    /**
23
     * Available
24
     *
25
     * @var int
26
     */
27
    private $available;
28
29
    /**
30
     * Average.
31
     *
32
     * @var float
33
     */
34
    private $average;
35
36
    /**
37
     * Column.
38
     *
39
     * @var string
40
     */
41
    private $column;
42
43
    /**
44
     * Count.
45
     *
46
     * @var int
47
     */
48
    private $count;
49
50
    /**
51
     * Entity.
52
     *
53
     * @var string
54
     */
55
    private $entity;
56
57
    /**
58
     * Field.
59
     *
60
     * @var string
61
     */
62
    private $field;
63
64
    /**
65
     * Maximum.
66
     *
67
     * @var int
68
     */
69
    private $maximum;
70
71
    /**
72
     * Minimum.
73
     *
74
     * @var int
75
     */
76
    private $minimum;
77
78
    /**
79
     * Table.
80
     *
81
     * @var string
82
     */
83
    private $table;
84
85
    /**
86
     * Constructor.
87
     */
88
    public function __construct() {
89
        // NOTHING TO DO.
90
    }
91
92
    /**
93
     * Get the available.
94
     *
95
     * @return int Returns the available.
96
     */
97
    public function getAvailable() {
98
        return $this->available;
99
    }
100
101
    /**
102
     * Get the average.
103
     *
104
     * @return float Returns the average.
105
     */
106
    public function getAverage() {
107
        return $this->average;
108
    }
109
110
    /**
111
     * Get the column.
112
     *
113
     * @return string Returns the column.
114
     */
115
    public function getColumn() {
116
        return $this->column;
117
    }
118
119
    /**
120
     * Get the count.
121
     *
122
     * @return int Returns the count.
123
     */
124
    public function getCount() {
125
        return $this->count;
126
    }
127
128
    /**
129
     * Get the entity.
130
     *
131
     * @return string Returns the entity.
132
     */
133
    public function getEntity() {
134
        return $this->entity;
135
    }
136
137
    /**
138
     * Get the field.
139
     *
140
     * @return string Returns the field.
141
     */
142
    public function getField() {
143
        return $this->field;
144
    }
145
146
    /**
147
     * Get the maximum.
148
     *
149
     * @return int Returns the maximum.
150
     */
151
    public function getMaximum() {
152
        return $this->maximum;
153
    }
154
155
    /**
156
     * Get the minimum.
157
     *
158
     * @return int Returns the minimum.
159
     */
160
    public function getMinimum() {
161
        return $this->minimum;
162
    }
163
164
    /**
165
     * Get the table.
166
     *
167
     * @return string Returns the table.
168
     */
169
    public function getTable() {
170
        return $this->table;
171
    }
172
173
    /**
174
     * Set the available.
175
     *
176
     * @param int $available The available.
177
     * @return RepositoryReport Returns this repository report.
178
     */
179
    public function setAvailable($available) {
180
        $this->available = $available;
181
        return $this;
182
    }
183
184
    /**
185
     * Set the average.
186
     *
187
     * @param float $average The average.
188
     * @return RepositoryReport Returns this repository report.
189
     */
190
    public function setAverage($average) {
191
        $this->average = $average;
192
        return $this;
193
    }
194
195
    /**
196
     * Set the column.
197
     *
198
     * @param string $column The column.
199
     * @return RepositoryReport Returns this repository report.
200
     */
201
    public function setColumn($column) {
202
        $this->column = $column;
203
        return $this;
204
    }
205
206
    /**
207
     * Set the count.
208
     *
209
     * @param int $count The count.
210
     * @return RepositoryReport Returns this repository report.
211
     */
212
    public function setCount($count) {
213
        $this->count = $count;
214
        return $this;
215
    }
216
217
    /**
218
     * Set the entity.
219
     *
220
     * @param string $entity The entity.
221
     * @return RepositoryReport Returns this repository report.
222
     */
223
    public function setEntity($entity) {
224
        $this->entity = $entity;
225
        return $this;
226
    }
227
228
    /**
229
     * Set the field.
230
     *
231
     * @param string $field The field.
232
     * @return RepositoryReport Returns this repository report.
233
     */
234
    public function setField($field) {
235
        $this->field = $field;
236
        return $this;
237
    }
238
239
    /**
240
     * Set the maximum.
241
     *
242
     * @param int $maximum The maximum.
243
     * @return RepositoryReport Returns this repository report.
244
     */
245
    public function setMaximum($maximum) {
246
        $this->maximum = $maximum;
247
        return $this;
248
    }
249
250
    /**
251
     * Set the minimum.
252
     *
253
     * @param int $minimum The minimum.
254
     * @return RepositoryReport Returns this repository report.
255
     */
256
    public function setMinimum($minimum) {
257
        $this->minimum = $minimum;
258
        return $this;
259
    }
260
261
    /**
262
     * Set the table.
263
     *
264
     * @param string $table The table.
265
     * @return RepositoryReport Returns this repository report.
266
     */
267
    public function setTable($table) {
268
        $this->table = $table;
269
        return $this;
270
    }
271
}
272