Code Duplication    Length = 191-191 lines in 2 locations

src/Chamilo/CourseBundle/Entity/CGroupRelUser.php 1 location

@@ 19-209 (lines=191) @@
16
 * )
17
 * @ORM\Entity
18
 */
19
class CGroupRelUser
20
{
21
    /**
22
     * @var integer
23
     *
24
     * @ORM\Column(name="iid", type="integer")
25
     * @ORM\Id
26
     * @ORM\GeneratedValue
27
     */
28
    private $iid;
29
30
    /**
31
     * @var integer
32
     *
33
     * @ORM\Column(name="c_id", type="integer")
34
     */
35
    private $cId;
36
37
    /**
38
     * @var integer
39
     *
40
     * @ORM\Column(name="id", type="integer", nullable=true)
41
     */
42
    private $id;
43
44
    /**
45
     * @var integer
46
     *
47
     * @ORM\Column(name="user_id", type="integer", nullable=false)
48
     */
49
    private $userId;
50
51
    /**
52
     * @var integer
53
     *
54
     * @ORM\Column(name="group_id", type="integer", nullable=false)
55
     */
56
    private $groupId;
57
58
    /**
59
     * @var integer
60
     *
61
     * @ORM\Column(name="status", type="integer", nullable=false)
62
     */
63
    private $status;
64
65
    /**
66
     * @var string
67
     *
68
     * @ORM\Column(name="role", type="string", length=50, nullable=false)
69
     */
70
    private $role;
71
72
    /**
73
     * Set userId
74
     *
75
     * @param integer $userId
76
     * @return CGroupRelUser
77
     */
78
    public function setUserId($userId)
79
    {
80
        $this->userId = $userId;
81
82
        return $this;
83
    }
84
85
    /**
86
     * Get userId
87
     *
88
     * @return integer
89
     */
90
    public function getUserId()
91
    {
92
        return $this->userId;
93
    }
94
95
    /**
96
     * Set groupId
97
     *
98
     * @param integer $groupId
99
     * @return CGroupRelUser
100
     */
101
    public function setGroupId($groupId)
102
    {
103
        $this->groupId = $groupId;
104
105
        return $this;
106
    }
107
108
    /**
109
     * Get groupId
110
     *
111
     * @return integer
112
     */
113
    public function getGroupId()
114
    {
115
        return $this->groupId;
116
    }
117
118
    /**
119
     * Set status
120
     *
121
     * @param integer $status
122
     * @return CGroupRelUser
123
     */
124
    public function setStatus($status)
125
    {
126
        $this->status = $status;
127
128
        return $this;
129
    }
130
131
    /**
132
     * Get status
133
     *
134
     * @return integer
135
     */
136
    public function getStatus()
137
    {
138
        return $this->status;
139
    }
140
141
    /**
142
     * Set role
143
     *
144
     * @param string $role
145
     * @return CGroupRelUser
146
     */
147
    public function setRole($role)
148
    {
149
        $this->role = $role;
150
151
        return $this;
152
    }
153
154
    /**
155
     * Get role
156
     *
157
     * @return string
158
     */
159
    public function getRole()
160
    {
161
        return $this->role;
162
    }
163
164
    /**
165
     * Set id
166
     *
167
     * @param integer $id
168
     * @return CGroupRelUser
169
     */
170
    public function setId($id)
171
    {
172
        $this->id = $id;
173
174
        return $this;
175
    }
176
177
    /**
178
     * Get id
179
     *
180
     * @return integer
181
     */
182
    public function getId()
183
    {
184
        return $this->id;
185
    }
186
187
    /**
188
     * Set cId
189
     *
190
     * @param integer $cId
191
     * @return CGroupRelUser
192
     */
193
    public function setCId($cId)
194
    {
195
        $this->cId = $cId;
196
197
        return $this;
198
    }
199
200
    /**
201
     * Get cId
202
     *
203
     * @return integer
204
     */
205
    public function getCId()
206
    {
207
        return $this->cId;
208
    }
209
}
210

src/Chamilo/CourseBundle/Entity/CWikiMailcue.php 1 location

@@ 21-211 (lines=191) @@
18
 * )
19
 * @ORM\Entity
20
 */
21
class CWikiMailcue
22
{
23
    /**
24
     * @var integer
25
     *
26
     * @ORM\Column(name="iid", type="integer")
27
     * @ORM\Id
28
     * @ORM\GeneratedValue
29
     */
30
    private $iid;
31
32
    /**
33
     * @var integer
34
     *
35
     * @ORM\Column(name="c_id", type="integer")
36
     */
37
    private $cId;
38
39
    /**
40
     * @var integer
41
     *
42
     * @ORM\Column(name="id", type="integer", nullable=true)
43
     */
44
    private $id;
45
46
    /**
47
     * @var string
48
     *
49
     * @ORM\Column(name="type", type="text", nullable=false)
50
     */
51
    private $type;
52
53
    /**
54
     * @var integer
55
     *
56
     * @ORM\Column(name="group_id", type="integer", nullable=true)
57
     */
58
    private $groupId;
59
60
    /**
61
     * @var integer
62
     *
63
     * @ORM\Column(name="session_id", type="integer", nullable=true)
64
     */
65
    private $sessionId;
66
67
    /**
68
     * @var integer
69
     *
70
     * @ORM\Column(name="user_id", type="integer")
71
     */
72
    private $userId;
73
74
    /**
75
     * Set type
76
     *
77
     * @param string $type
78
     * @return CWikiMailcue
79
     */
80
    public function setType($type)
81
    {
82
        $this->type = $type;
83
84
        return $this;
85
    }
86
87
    /**
88
     * Get type
89
     *
90
     * @return string
91
     */
92
    public function getType()
93
    {
94
        return $this->type;
95
    }
96
97
    /**
98
     * Set groupId
99
     *
100
     * @param integer $groupId
101
     * @return CWikiMailcue
102
     */
103
    public function setGroupId($groupId)
104
    {
105
        $this->groupId = $groupId;
106
107
        return $this;
108
    }
109
110
    /**
111
     * Get groupId
112
     *
113
     * @return integer
114
     */
115
    public function getGroupId()
116
    {
117
        return $this->groupId;
118
    }
119
120
    /**
121
     * Set sessionId
122
     *
123
     * @param integer $sessionId
124
     * @return CWikiMailcue
125
     */
126
    public function setSessionId($sessionId)
127
    {
128
        $this->sessionId = $sessionId;
129
130
        return $this;
131
    }
132
133
    /**
134
     * Get sessionId
135
     *
136
     * @return integer
137
     */
138
    public function getSessionId()
139
    {
140
        return $this->sessionId;
141
    }
142
143
    /**
144
     * Set cId
145
     *
146
     * @param integer $cId
147
     * @return CWikiMailcue
148
     */
149
    public function setCId($cId)
150
    {
151
        $this->cId = $cId;
152
153
        return $this;
154
    }
155
156
    /**
157
     * Get cId
158
     *
159
     * @return integer
160
     */
161
    public function getCId()
162
    {
163
        return $this->cId;
164
    }
165
166
    /**
167
     * Set id
168
     *
169
     * @param integer $id
170
     * @return CWikiMailcue
171
     */
172
    public function setId($id)
173
    {
174
        $this->id = $id;
175
176
        return $this;
177
    }
178
179
    /**
180
     * Get id
181
     *
182
     * @return integer
183
     */
184
    public function getId()
185
    {
186
        return $this->id;
187
    }
188
189
    /**
190
     * Set userId
191
     *
192
     * @param integer $userId
193
     * @return CWikiMailcue
194
     */
195
    public function setUserId($userId)
196
    {
197
        $this->userId = $userId;
198
199
        return $this;
200
    }
201
202
    /**
203
     * Get userId
204
     *
205
     * @return integer
206
     */
207
    public function getUserId()
208
    {
209
        return $this->userId;
210
    }
211
}
212