CharAttributes::setIntelligence()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 6
rs 9.4285
c 1
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
namespace Tarioch\EveapiFetcherBundle\Entity;
3
4
use Doctrine\ORM\Mapping as ORM;
5
6
/**
7
 * @ORM\Entity
8
 * @ORM\Table(name="charAttributes")
9
 */
10
class CharAttributes
11
{
12
    /**
13
     * @ORM\Id @ORM\GeneratedValue @ORM\Column(name="id", type="bigint", options={"unsigned"=true})
14
     */
15
    private $id;
16
17
    /**
18
     * @ORM\Column(name="charisma", type="integer", options={"unsigned"=true})
19
     */
20
    private $charisma;
21
22
    /**
23
     * @ORM\Column(name="intelligence", type="integer", options={"unsigned"=true})
24
     */
25
    private $intelligence;
26
27
    /**
28
     * @ORM\Column(name="memory", type="integer", options={"unsigned"=true})
29
     */
30
    private $memory;
31
32
    /**
33
     * @ORM\Column(name="perception", type="integer", options={"unsigned"=true})
34
     */
35
    private $perception;
36
37
    /**
38
     * @ORM\Column(name="willpower", type="integer", options={"unsigned"=true})
39
     */
40
    private $willpower;
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 charisma
55
     *
56
     * @param integer $charisma
57
     * @return CharAttributes
58
     */
59
    public function setCharisma($charisma)
60
    {
61
        $this->charisma = $charisma;
62
63
        return $this;
64
    }
65
66
    /**
67
     * Get charisma
68
     *
69
     * @return integer
70
     */
71
    public function getCharisma()
72
    {
73
        return $this->charisma;
74
    }
75
76
    /**
77
     * Set intelligence
78
     *
79
     * @param integer $intelligence
80
     * @return CharAttributes
81
     */
82
    public function setIntelligence($intelligence)
83
    {
84
        $this->intelligence = $intelligence;
85
86
        return $this;
87
    }
88
89
    /**
90
     * Get intelligence
91
     *
92
     * @return integer
93
     */
94
    public function getIntelligence()
95
    {
96
        return $this->intelligence;
97
    }
98
99
    /**
100
     * Set memory
101
     *
102
     * @param integer $memory
103
     * @return CharAttributes
104
     */
105
    public function setMemory($memory)
106
    {
107
        $this->memory = $memory;
108
109
        return $this;
110
    }
111
112
    /**
113
     * Get memory
114
     *
115
     * @return integer
116
     */
117
    public function getMemory()
118
    {
119
        return $this->memory;
120
    }
121
122
    /**
123
     * Set perception
124
     *
125
     * @param integer $perception
126
     * @return CharAttributes
127
     */
128
    public function setPerception($perception)
129
    {
130
        $this->perception = $perception;
131
132
        return $this;
133
    }
134
135
    /**
136
     * Get perception
137
     *
138
     * @return integer
139
     */
140
    public function getPerception()
141
    {
142
        return $this->perception;
143
    }
144
145
    /**
146
     * Set willpower
147
     *
148
     * @param integer $willpower
149
     * @return CharAttributes
150
     */
151
    public function setWillpower($willpower)
152
    {
153
        $this->willpower = $willpower;
154
155
        return $this;
156
    }
157
158
    /**
159
     * Get willpower
160
     *
161
     * @return integer
162
     */
163
    public function getWillpower()
164
    {
165
        return $this->willpower;
166
    }
167
}
168