Passed
Push — master ( c49c81...0c069c )
by Ferry
03:05
created

MoneyModel::getDecimal()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: User
5
 * Date: 4/21/2019
6
 * Time: 10:51 PM
7
 */
8
9
namespace crocodicstudio\crudbooster\types\money;
10
11
use crocodicstudio\crudbooster\models\ColumnModel;
12
13
class MoneyModel extends ColumnModel
14
{
15
16
    private $precision;
17
    private $thousands;
18
    private $decimal;
19
    private $prefix;
20
21
    /**
22
     * @return mixed
23
     */
24
    public function getPrefix()
25
    {
26
        return $this->prefix;
27
    }
28
29
    /**
30
     * @param mixed $prefix
31
     */
32
    public function setPrefix($prefix)
33
    {
34
        $this->prefix = $prefix;
35
    }
36
37
38
    /**
39
     * @return mixed
40
     */
41
    public function getPrecision()
42
    {
43
        return $this->precision;
44
    }
45
46
    /**
47
     * @param mixed $precision
48
     */
49
    public function setPrecision($precision)
50
    {
51
        $this->precision = $precision;
52
    }
53
54
    /**
55
     * @return mixed
56
     */
57
    public function getThousands()
58
    {
59
        return $this->thousands;
60
    }
61
62
    /**
63
     * @param mixed $thousands
64
     */
65
    public function setThousands($thousands)
66
    {
67
        $this->thousands = $thousands;
68
    }
69
70
    /**
71
     * @return mixed
72
     */
73
    public function getDecimal()
74
    {
75
        return $this->decimal;
76
    }
77
78
    /**
79
     * @param mixed $decimal
80
     */
81
    public function setDecimal($decimal)
82
    {
83
        $this->decimal = $decimal;
84
    }
85
86
87
88
}