GroupMember::getNick()   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 GroupMember extends User
14
{
15
    /**
16
     * flag,作用不明.
17
     *
18
     * @var int
19
     */
20
    protected $flag;
21
22
    /**
23
     * 昵称.
24
     *
25
     * @var string
26
     */
27
    protected $nick;
28
29
    /**
30
     * 省
31
     *
32
     * @var string
33
     */
34
    protected $province;
35
36
    /**
37
     * 性别.
38
     *
39
     * @var string
40
     */
41
    protected $gender;
42
43
    /**
44
     * 国家.
45
     *
46
     * @var string
47
     */
48
    protected $country;
49
50
    /**
51
     * 城市
52
     *
53
     * @var string
54
     */
55
    protected $city;
56
57
    /**
58
     * 群名片.
59
     *
60
     * @var string
61
     */
62
    protected $card;
63
64
    /**
65
     * 是否是vip.
66
     *
67
     * @var string
68
     */
69
    protected $isVip;
70
71
    /**
72
     * vip等级.
73
     *
74
     * @var int
75
     */
76
    protected $vipLevel;
77
78
    /**
79
     * @return string
80
     */
81
    public function getNick()
82
    {
83
        return $this->nick;
84
    }
85
86
    /**
87
     * @param string $nick
88
     */
89
    public function setNick($nick)
90
    {
91
        $this->nick = $nick;
92
    }
93
94
    /**
95
     * @return string
96
     */
97
    public function getProvince()
98
    {
99
        return $this->province;
100
    }
101
102
    /**
103
     * @param string $province
104
     */
105
    public function setProvince($province)
106
    {
107
        $this->province = $province;
108
    }
109
110
    /**
111
     * @return string
112
     */
113
    public function getGender()
114
    {
115
        return $this->gender;
116
    }
117
118
    /**
119
     * @param string $gender
120
     */
121
    public function setGender($gender)
122
    {
123
        $this->gender = $gender;
124
    }
125
126
    /**
127
     * @return string
128
     */
129
    public function getCountry()
130
    {
131
        return $this->country;
132
    }
133
134
    /**
135
     * @param string $country
136
     */
137
    public function setCountry($country)
138
    {
139
        $this->country = $country;
140
    }
141
142
    /**
143
     * @return string
144
     */
145
    public function getCity()
146
    {
147
        return $this->city;
148
    }
149
150
    /**
151
     * @param string $city
152
     */
153
    public function setCity($city)
154
    {
155
        $this->city = $city;
156
    }
157
158
    /**
159
     * @return string
160
     */
161
    public function getCard()
162
    {
163
        return $this->card;
164
    }
165
166
    /**
167
     * @param string $card
168
     */
169
    public function setCard($card)
170
    {
171
        $this->card = $card;
172
    }
173
174
    /**
175
     * @return string
176
     */
177
    public function isVip()
178
    {
179
        return $this->isVip;
180
    }
181
182
    /**
183
     * @param string $isVip
184
     */
185
    public function setIsVip($isVip)
186
    {
187
        $this->isVip = $isVip;
188
    }
189
190
    /**
191
     * @return int
192
     */
193
    public function getVipLevel()
194
    {
195
        return $this->vipLevel;
196
    }
197
198
    /**
199
     * @param int $vipLevel
200
     */
201
    public function setVipLevel($vipLevel)
202
    {
203
        $this->vipLevel = $vipLevel;
204
    }
205
206
    /**
207
     * @param int $flag
208
     */
209
    public function setFlag($flag)
210
    {
211
        $this->flag = $flag;
212
    }
213
214
    /**
215
     * @return int
216
     */
217
    public function getFlag()
218
    {
219
        return $this->flag;
220
    }
221
}
222