ProdutoStatus::getNome()   A
last analyzed

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 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: a.moreira
5
 * Date: 19/10/2016
6
 * Time: 15:34
7
 */
8
9
namespace Integracao\ControlPay\Model;
10
11
/**
12
 * Class ProdutoStatus
13
 * @package Integracao\ControlPay\Model
14
 */
15
class ProdutoStatus
16
{
17
    /**
18
     * @var integer
19
     */
20
    private $id;
21
22
    /**
23
     * @var string
24
     */
25
    private $nome;
26
27
    /**
28
     * ProdutoStatus constructor.
29
     */
30
    public function __construct()
31
    {
32
    }
33
34
    /**
35
     * @return int
36
     */
37
    public function getId()
38
    {
39
        return $this->id;
40
    }
41
42
    /**
43
     * @param int $id
44
     * @return ProdutoStatus
45
     */
46
    public function setId($id)
47
    {
48
        $this->id = $id;
49
        return $this;
50
    }
51
52
    /**
53
     * @return string
54
     */
55
    public function getNome()
56
    {
57
        return $this->nome;
58
    }
59
60
    /**
61
     * @param string $nome
62
     * @return ProdutoStatus
63
     */
64
    public function setNome($nome)
65
    {
66
        $this->nome = $nome;
67
        return $this;
68
    }
69
70
}