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.
151 lines
2.4 KiB
151 lines
2.4 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class UsergroupRelQuestion extends \Entity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\UsergroupRelQuestionRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\UsergroupRelQuestionRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\UsergroupRelQuestion
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var integer $id
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @var integer $c_id
|
|
*/
|
|
protected $c_id;
|
|
|
|
/**
|
|
* @var integer $question_id
|
|
*/
|
|
protected $question_id;
|
|
|
|
/**
|
|
* @var integer $usergroup_id
|
|
*/
|
|
protected $usergroup_id;
|
|
|
|
/**
|
|
* @var float $coefficient
|
|
*/
|
|
protected $coefficient;
|
|
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_id()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Set c_id
|
|
*
|
|
* @param integer $value
|
|
* @return UsergroupRelQuestion
|
|
*/
|
|
public function set_c_id($value)
|
|
{
|
|
$this->c_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get c_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_c_id()
|
|
{
|
|
return $this->c_id;
|
|
}
|
|
|
|
/**
|
|
* Set question_id
|
|
*
|
|
* @param integer $value
|
|
* @return UsergroupRelQuestion
|
|
*/
|
|
public function set_question_id($value)
|
|
{
|
|
$this->question_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get question_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_question_id()
|
|
{
|
|
return $this->question_id;
|
|
}
|
|
|
|
/**
|
|
* Set usergroup_id
|
|
*
|
|
* @param integer $value
|
|
* @return UsergroupRelQuestion
|
|
*/
|
|
public function set_usergroup_id($value)
|
|
{
|
|
$this->usergroup_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get usergroup_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_usergroup_id()
|
|
{
|
|
return $this->usergroup_id;
|
|
}
|
|
|
|
/**
|
|
* Set coefficient
|
|
*
|
|
* @param float $value
|
|
* @return UsergroupRelQuestion
|
|
*/
|
|
public function set_coefficient($value)
|
|
{
|
|
$this->coefficient = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get coefficient
|
|
*
|
|
* @return float
|
|
*/
|
|
public function get_coefficient()
|
|
{
|
|
return $this->coefficient;
|
|
}
|
|
} |