DiscussMember   A
last analyzed

Complexity

Total Complexity 8

Size/Duplication

Total Lines 88
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 88
rs 10
c 0
b 0
f 0
wmc 8
lcom 0
cbo 1

8 Methods

Rating   Name   Duplication   Size   Complexity  
A getNick() 0 4 1
A setNick() 0 4 1
A getClientType() 0 4 1
A setClientType() 0 4 1
A getStatus() 0 4 1
A setStatus() 0 4 1
A getRuin() 0 4 1
A setRuin() 0 4 1
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 DiscussMember extends User
14
{
15
    /**
16
     * @var string
17
     */
18
    protected $nick;
19
20
    /**
21
     * @var int
22
     */
23
    protected $clientType;
24
25
    /**
26
     * @var string
27
     */
28
    protected $status;
29
30
    /**
31
     * 作用不明.
32
     *
33
     * @var int
34
     */
35
    protected $ruin;
36
37
    /**
38
     * @return string
39
     */
40
    public function getNick()
41
    {
42
        return $this->nick;
43
    }
44
45
    /**
46
     * @param string $nick
47
     */
48
    public function setNick($nick)
49
    {
50
        $this->nick = $nick;
51
    }
52
53
    /**
54
     * @return int
55
     */
56
    public function getClientType()
57
    {
58
        return $this->clientType;
59
    }
60
61
    /**
62
     * @param int $clientType
63
     */
64
    public function setClientType($clientType)
65
    {
66
        $this->clientType = $clientType;
67
    }
68
69
    /**
70
     * @return string
71
     */
72
    public function getStatus()
73
    {
74
        return $this->status;
75
    }
76
77
    /**
78
     * @param string $status
79
     */
80
    public function setStatus($status)
81
    {
82
        $this->status = $status;
83
    }
84
85
    /**
86
     * @return int
87
     */
88
    public function getRuin()
89
    {
90
        return $this->ruin;
91
    }
92
93
    /**
94
     * @param int $ruin
95
     */
96
    public function setRuin($ruin)
97
    {
98
        $this->ruin = $ruin;
99
    }
100
}
101