Friend::getVipLevel()   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 Friend extends User
14
{
15
    /**
16
     * flag,作用不明.
17
     *
18
     * @var int
19
     */
20
    protected $flag;
21
22
    /**
23
     * face,作用不明.
24
     *
25
     * @var int
26
     */
27
    protected $face;
28
29
    /**
30
     * 昵称.
31
     *
32
     * @var string
33
     */
34
    protected $nick;
35
36
    /**
37
     * 用户QQ号.
38
     *
39
     * @var int
40
     */
41
    protected $qq;
42
43
    /**
44
     * 是否是VIP.
45
     *
46
     * @var bool
47
     */
48
    protected $isVip;
49
50
    /**
51
     * VIP等级.
52
     *
53
     * @var int
54
     */
55
    protected $vipLevel;
56
57
    /**
58
     * @var Category
59
     */
60
    protected $category;
61
62
    /**
63
     * @var string
64
     */
65
    protected $markName;
66
67
    /**
68
     * @param string $markName
69
     */
70
    public function setMarkName($markName)
71
    {
72
        $this->markName = $markName;
73
    }
74
75
    /**
76
     * @return string
77
     */
78
    public function getMarkName()
79
    {
80
        return $this->markName;
81
    }
82
83
    /**
84
     * @return int
85
     */
86
    public function getQq()
87
    {
88
        return $this->qq;
89
    }
90
91
    /**
92
     * @return bool
93
     */
94
    public function isVip()
95
    {
96
        return $this->isVip;
97
    }
98
99
    /**
100
     * @return int
101
     */
102
    public function getVipLevel()
103
    {
104
        return $this->vipLevel;
105
    }
106
107
    /**
108
     * @return Category
109
     */
110
    public function getCategory()
111
    {
112
        return $this->category;
113
    }
114
115
    /**
116
     * @return int
117
     */
118
    public function getFlag()
119
    {
120
        return $this->flag;
121
    }
122
123
    /**
124
     * @return int
125
     */
126
    public function getFace()
127
    {
128
        return $this->face;
129
    }
130
131
    /**
132
     * @param int $face
133
     */
134
    public function setFace($face)
135
    {
136
        $this->face = $face;
137
    }
138
139
    /**
140
     * @return string
141
     */
142
    public function getNick()
143
    {
144
        return $this->nick;
145
    }
146
147
    /**
148
     * @param string $nick
149
     */
150
    public function setNick($nick)
151
    {
152
        $this->nick = $nick;
153
    }
154
155
    /**
156
     * @param int $qq
157
     */
158
    public function setQq($qq)
159
    {
160
        $this->qq = $qq;
161
    }
162
163
    /**
164
     * @param int $flag
165
     */
166
    public function setFlag($flag)
167
    {
168
        $this->flag = $flag;
169
    }
170
171
    /**
172
     * @param bool $isVip
173
     */
174
    public function setIsVip($isVip)
175
    {
176
        $this->isVip = $isVip;
177
    }
178
179
    /**
180
     * @param int $vipLevel
181
     */
182
    public function setVipLevel($vipLevel)
183
    {
184
        $this->vipLevel = $vipLevel;
185
    }
186
187
    /**
188
     * @param Category $category
189
     */
190
    public function setCategory($category)
191
    {
192
        $this->category = $category;
193
    }
194
}
195