course = $course; $this->user = $user; } /** * Set cId * * @param integer $cId * @return CourseRelUser */ public function setCId($cId) { $this->cId = $cId; return $this; } /** * Get cId * * @return integer */ public function getCId() { return $this->cId; } /** * Set courseCode * * @param string $courseCode * @return CourseRelUser */ public function setCourseCode($courseCode) { $this->courseCode = $courseCode; return $this; } /** * Get courseCode * * @return string */ public function getCourseCode() { return $this->courseCode; } /** * Set userId * * @param integer $userId * @return CourseRelUser */ public function setUserId($userId) { $this->userId = $userId; return $this; } /** * Get userId * * @return integer */ public function getUserId() { return $this->userId; } /** * Set relationType * * @param integer $relationType * @return CourseRelUser */ public function setRelationType($relationType) { $this->relationType = $relationType; return $this; } /** * Get relationType * * @return integer */ public function getRelationType() { return $this->relationType; } /** * Set status * * @param boolean $status * @return CourseRelUser */ public function setStatus($status) { $this->status = $status; return $this; } /** * Get status * * @return boolean */ public function getStatus() { return $this->status; } /** * Set role * * @param string $role * @return CourseRelUser */ public function setRole($role) { $this->role = $role; return $this; } /** * Get role * * @return string */ public function getRole() { return $this->role; } /** * Set groupId * * @param integer $groupId * @return CourseRelUser */ public function setGroupId($groupId) { $this->groupId = $groupId; return $this; } /** * Get groupId * * @return integer */ public function getGroupId() { return $this->groupId; } /** * Set tutorId * * @param integer $tutorId * @return CourseRelUser */ public function setTutorId($tutorId) { $this->tutorId = $tutorId; return $this; } /** * Get tutorId * * @return integer */ public function getTutorId() { return $this->tutorId; } /** * Set sort * * @param integer $sort * @return CourseRelUser */ public function setSort($sort) { $this->sort = $sort; return $this; } /** * Get sort * * @return integer */ public function getSort() { return $this->sort; } /** * Set userCourseCat * * @param integer $userCourseCat * @return CourseRelUser */ public function setUserCourseCat($userCourseCat) { $this->userCourseCat = $userCourseCat; return $this; } /** * Get userCourseCat * * @return integer */ public function getUserCourseCat() { return $this->userCourseCat; } /** * Set legalAgreement * * @param integer $legalAgreement * @return CourseRelUser */ public function setLegalAgreement($legalAgreement) { $this->legalAgreement = $legalAgreement; return $this; } /** * Get legalAgreement * * @return integer */ public function getLegalAgreement() { return $this->legalAgreement; } }