DiscussMember::setClientType()   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 1
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 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