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

88 lines
1.4 KiB

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