Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chamilo-lms/src/CoreBundle/Entity/UsergroupRelCourse.php

97 lines
1.5 KiB

<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* UsergroupRelCourse.
*
* @ORM\Table(name="usergroup_rel_course")
* @ORM\Entity
*/
class UsergroupRelCourse
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue
*/
protected $id;
/**
* @var int
*
* @ORM\Column(name="usergroup_id", type="integer", nullable=false)
*/
protected $usergroupId;
/**
* @var int
*
* @ORM\Column(name="course_id", type="integer", nullable=false)
*/
protected $courseId;
/**
* Set usergroupId.
*
* @param int $usergroupId
*
* @return UsergroupRelCourse
*/
public function setUsergroupId($usergroupId)
{
$this->usergroupId = $usergroupId;
return $this;
}
/**
* Get usergroupId.
*
* @return int
*/
public function getUsergroupId()
{
return $this->usergroupId;
}
/**
* Set courseId.
*
* @param int $courseId
*
* @return UsergroupRelCourse
*/
public function setCourseId($courseId)
{
$this->courseId = $courseId;
return $this;
}
/**
* Get courseId.
*
* @return int
*/
public function getCourseId()
{
return $this->courseId;
}
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
}