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/main/inc/Entity/EntityUsergroupRelQuestion.php

154 lines
2.7 KiB

<?php
use Doctrine\ORM\Mapping as ORM;
/**
* EntityUsergroupRelQuestion
*
* @Table(name="usergroup_rel_question")
* @Entity
*/
class EntityUsergroupRelQuestion
{
/**
* @var integer
*
* @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
* @Id
* @GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var integer
*
* @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $cId;
/**
* @var integer
*
* @Column(name="question_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $questionId;
/**
* @var integer
*
* @Column(name="usergroup_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $usergroupId;
/**
* @var float
*
* @Column(name="coefficient", type="float", precision=0, scale=0, nullable=true, unique=false)
*/
private $coefficient;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set cId
*
* @param integer $cId
* @return EntityUsergroupRelQuestion
*/
public function setCId($cId)
{
$this->cId = $cId;
return $this;
}
/**
* Get cId
*
* @return integer
*/
public function getCId()
{
return $this->cId;
}
/**
* Set questionId
*
* @param integer $questionId
* @return EntityUsergroupRelQuestion
*/
public function setQuestionId($questionId)
{
$this->questionId = $questionId;
return $this;
}
/**
* Get questionId
*
* @return integer
*/
public function getQuestionId()
{
return $this->questionId;
}
/**
* Set usergroupId
*
* @param integer $usergroupId
* @return EntityUsergroupRelQuestion
*/
public function setUsergroupId($usergroupId)
{
$this->usergroupId = $usergroupId;
return $this;
}
/**
* Get usergroupId
*
* @return integer
*/
public function getUsergroupId()
{
return $this->usergroupId;
}
/**
* Set coefficient
*
* @param float $coefficient
* @return EntityUsergroupRelQuestion
*/
public function setCoefficient($coefficient)
{
$this->coefficient = $coefficient;
return $this;
}
/**
* Get coefficient
*
* @return float
*/
public function getCoefficient()
{
return $this->coefficient;
}
}