DiscussDetail::setMembers()   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
use Slince\SmartQQ\EntityCollection;
14
15
class DiscussDetail
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $did;
21
22
    /**
23
     * @var string
24
     */
25
    protected $name;
26
27
    /**
28
     * @var EntityCollection|DiscussMember[]
29
     */
30
    protected $members;
31
32
    /**
33
     * @return int
34
     */
35
    public function getDid()
36
    {
37
        return $this->did;
38
    }
39
40
    /**
41
     * @param int $did
42
     */
43
    public function setDid($did)
44
    {
45
        $this->did = $did;
46
    }
47
48
    /**
49
     * @return string
50
     */
51
    public function getName()
52
    {
53
        return $this->name;
54
    }
55
56
    /**
57
     * @param string $name
58
     */
59
    public function setName($name)
60
    {
61
        $this->name = $name;
62
    }
63
64
    /**
65
     * 获取讨论组成员.
66
     *
67
     * @return EntityCollection|DiscussMember[]
68
     */
69
    public function getMembers()
70
    {
71
        return $this->members;
72
    }
73
74
    /**
75
     * @param EntityCollection $members
76
     */
77
    public function setMembers($members)
78
    {
79
        $this->members = $members;
80
    }
81
}
82