Group::getId()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
/*
3
 * This file is part of the slince/smartqq package.
4
 *
5
 * (c) Slince <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace Slince\SmartQQ\Entity;
12
13
class Group
14
{
15
    /**
16
     * gid.
17
     *
18
     * @var int
19
     */
20
    protected $id;
21
22
    /**
23
     * @var string
24
     */
25
    protected $name;
26
27
    /**
28
     * @var string
29
     */
30
    protected $code;
31
32
    /**
33
     * @var int
34
     */
35
    protected $flag;
36
37
    /**
38
     * @var string
39
     */
40
    protected $markName;
41
42
    /**
43
     * @param int $id
44
     */
45
    public function setId($id)
46
    {
47
        $this->id = $id;
48
    }
49
50
    /**
51
     * @return int
52
     */
53
    public function getId()
54
    {
55
        return $this->id;
56
    }
57
58
    /**
59
     * @param string $name
60
     */
61
    public function setName($name)
62
    {
63
        $this->name = $name;
64
    }
65
66
    /**
67
     * @return string
68
     */
69
    public function getName()
70
    {
71
        return $this->name;
72
    }
73
74
    /**
75
     * @param string $code
76
     */
77
    public function setCode($code)
78
    {
79
        $this->code = $code;
80
    }
81
82
    /**
83
     * @return string
84
     */
85
    public function getCode()
86
    {
87
        return $this->code;
88
    }
89
90
    /**
91
     * @param int $flag
92
     */
93
    public function setFlag($flag)
94
    {
95
        $this->flag = $flag;
96
    }
97
98
    /**
99
     * @return int
100
     */
101
    public function getFlag()
102
    {
103
        return $this->flag;
104
    }
105
106
    /**
107
     * @param string $markName
108
     */
109
    public function setMarkName($markName)
110
    {
111
        $this->markName = $markName;
112
    }
113
114
    /**
115
     * @return string
116
     */
117
    public function getMarkName()
118
    {
119
        return $this->markName;
120
    }
121
}
122