Operador   A
last analyzed

Complexity

Total Complexity 15

Size/Duplication

Total Lines 171
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 15
lcom 0
cbo 0
dl 0
loc 171
rs 10
c 0
b 0
f 0

15 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getId() 0 4 1
A setId() 0 5 1
A getPessoa() 0 4 1
A setPessoa() 0 5 1
A getNome() 0 4 1
A setNome() 0 5 1
A getLogin() 0 4 1
A setLogin() 0 5 1
A getSenha() 0 4 1
A setSenha() 0 5 1
A getEmail() 0 4 1
A setEmail() 0 5 1
A getAtivo() 0 4 1
A setAtivo() 0 5 1
1
<?php
2
3
namespace Integracao\ControlPay\Model;
4
5
/**
6
 * Class Operador
7
 * @package Integracao\ControlPay\Model
8
 */
9
class Operador
10
{
11
    /**
12
     * @var integer
13
     */
14
    private $id;
15
16
    /**
17
     * @var Pessoa
18
     */
19
    private $pessoa;
20
21
    /**
22
     * @var string
23
     */
24
    private $nome;
25
26
    /**
27
     * @var string
28
     */
29
    private $login;
30
31
    /**
32
     * @var string
33
     */
34
    private $senha;
35
36
    /**
37
     * @var string
38
     */
39
    private $email;
40
41
    /**
42
     * @var string
43
     */
44
    private $ativo;
45
46
    /**
47
     * Operador constructor.
48
     */
49
    public function __construct()
50
    {
51
    }
52
53
    /**
54
     * @return int
55
     */
56
    public function getId()
57
    {
58
        return $this->id;
59
    }
60
61
    /**
62
     * @param int $id
63
     * @return Operador
64
     */
65
    public function setId($id)
66
    {
67
        $this->id = $id;
68
        return $this;
69
    }
70
71
    /**
72
     * @return Pessoa
73
     */
74
    public function getPessoa()
75
    {
76
        return $this->pessoa;
77
    }
78
79
    /**
80
     * @param Pessoa $pessoa
81
     * @return Operador
82
     */
83
    public function setPessoa($pessoa)
84
    {
85
        $this->pessoa = $pessoa;
86
        return $this;
87
    }
88
89
    /**
90
     * @return string
91
     */
92
    public function getNome()
93
    {
94
        return $this->nome;
95
    }
96
97
    /**
98
     * @param string $nome
99
     * @return Operador
100
     */
101
    public function setNome($nome)
102
    {
103
        $this->nome = $nome;
104
        return $this;
105
    }
106
107
    /**
108
     * @return string
109
     */
110
    public function getLogin()
111
    {
112
        return $this->login;
113
    }
114
115
    /**
116
     * @param string $login
117
     * @return Operador
118
     */
119
    public function setLogin($login)
120
    {
121
        $this->login = $login;
122
        return $this;
123
    }
124
125
    /**
126
     * @return string
127
     */
128
    public function getSenha()
129
    {
130
        return $this->senha;
131
    }
132
133
    /**
134
     * @param string $senha
135
     * @return Operador
136
     */
137
    public function setSenha($senha)
138
    {
139
        $this->senha = $senha;
140
        return $this;
141
    }
142
143
    /**
144
     * @return string
145
     */
146
    public function getEmail()
147
    {
148
        return $this->email;
149
    }
150
151
    /**
152
     * @param string $email
153
     * @return Operador
154
     */
155
    public function setEmail($email)
156
    {
157
        $this->email = $email;
158
        return $this;
159
    }
160
161
    /**
162
     * @return string
163
     */
164
    public function getAtivo()
165
    {
166
        return $this->ativo;
167
    }
168
169
    /**
170
     * @param string $ativo
171
     * @return Operador
172
     */
173
    public function setAtivo($ativo)
174
    {
175
        $this->ativo = $ativo;
176
        return $this;
177
    }
178
179
}