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.
394 lines
6.4 KiB
394 lines
6.4 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class GradebookCategory extends \Entity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\GradebookCategoryRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\GradebookCategoryRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\GradebookCategory
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var integer $id
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @var text $name
|
|
*/
|
|
protected $name;
|
|
|
|
/**
|
|
* @var text $description
|
|
*/
|
|
protected $description;
|
|
|
|
/**
|
|
* @var integer $user_id
|
|
*/
|
|
protected $user_id;
|
|
|
|
/**
|
|
* @var string $course_code
|
|
*/
|
|
protected $course_code;
|
|
|
|
/**
|
|
* @var integer $parent_id
|
|
*/
|
|
protected $parent_id;
|
|
|
|
/**
|
|
* @var float $weight
|
|
*/
|
|
protected $weight;
|
|
|
|
/**
|
|
* @var boolean $visible
|
|
*/
|
|
protected $visible;
|
|
|
|
/**
|
|
* @var integer $certif_min_score
|
|
*/
|
|
protected $certif_min_score;
|
|
|
|
/**
|
|
* @var integer $session_id
|
|
*/
|
|
protected $session_id;
|
|
|
|
/**
|
|
* @var integer $document_id
|
|
*/
|
|
protected $document_id;
|
|
|
|
/**
|
|
* @var integer $locked
|
|
*/
|
|
protected $locked;
|
|
|
|
/**
|
|
* @var boolean $default_lowest_eval_exclude
|
|
*/
|
|
protected $default_lowest_eval_exclude;
|
|
|
|
/**
|
|
* @var integer $grade_model_id
|
|
*/
|
|
protected $grade_model_id;
|
|
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_id()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Set name
|
|
*
|
|
* @param text $value
|
|
* @return GradebookCategory
|
|
*/
|
|
public function set_name($value)
|
|
{
|
|
$this->name = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get name
|
|
*
|
|
* @return text
|
|
*/
|
|
public function get_name()
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
/**
|
|
* Set description
|
|
*
|
|
* @param text $value
|
|
* @return GradebookCategory
|
|
*/
|
|
public function set_description($value)
|
|
{
|
|
$this->description = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get description
|
|
*
|
|
* @return text
|
|
*/
|
|
public function get_description()
|
|
{
|
|
return $this->description;
|
|
}
|
|
|
|
/**
|
|
* Set user_id
|
|
*
|
|
* @param integer $value
|
|
* @return GradebookCategory
|
|
*/
|
|
public function set_user_id($value)
|
|
{
|
|
$this->user_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get user_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_user_id()
|
|
{
|
|
return $this->user_id;
|
|
}
|
|
|
|
/**
|
|
* Set course_code
|
|
*
|
|
* @param string $value
|
|
* @return GradebookCategory
|
|
*/
|
|
public function set_course_code($value)
|
|
{
|
|
$this->course_code = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get course_code
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_course_code()
|
|
{
|
|
return $this->course_code;
|
|
}
|
|
|
|
/**
|
|
* Set parent_id
|
|
*
|
|
* @param integer $value
|
|
* @return GradebookCategory
|
|
*/
|
|
public function set_parent_id($value)
|
|
{
|
|
$this->parent_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get parent_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_parent_id()
|
|
{
|
|
return $this->parent_id;
|
|
}
|
|
|
|
/**
|
|
* Set weight
|
|
*
|
|
* @param float $value
|
|
* @return GradebookCategory
|
|
*/
|
|
public function set_weight($value)
|
|
{
|
|
$this->weight = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get weight
|
|
*
|
|
* @return float
|
|
*/
|
|
public function get_weight()
|
|
{
|
|
return $this->weight;
|
|
}
|
|
|
|
/**
|
|
* Set visible
|
|
*
|
|
* @param boolean $value
|
|
* @return GradebookCategory
|
|
*/
|
|
public function set_visible($value)
|
|
{
|
|
$this->visible = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get visible
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public function get_visible()
|
|
{
|
|
return $this->visible;
|
|
}
|
|
|
|
/**
|
|
* Set certif_min_score
|
|
*
|
|
* @param integer $value
|
|
* @return GradebookCategory
|
|
*/
|
|
public function set_certif_min_score($value)
|
|
{
|
|
$this->certif_min_score = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get certif_min_score
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_certif_min_score()
|
|
{
|
|
return $this->certif_min_score;
|
|
}
|
|
|
|
/**
|
|
* Set session_id
|
|
*
|
|
* @param integer $value
|
|
* @return GradebookCategory
|
|
*/
|
|
public function set_session_id($value)
|
|
{
|
|
$this->session_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get session_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_session_id()
|
|
{
|
|
return $this->session_id;
|
|
}
|
|
|
|
/**
|
|
* Set document_id
|
|
*
|
|
* @param integer $value
|
|
* @return GradebookCategory
|
|
*/
|
|
public function set_document_id($value)
|
|
{
|
|
$this->document_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get document_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_document_id()
|
|
{
|
|
return $this->document_id;
|
|
}
|
|
|
|
/**
|
|
* Set locked
|
|
*
|
|
* @param integer $value
|
|
* @return GradebookCategory
|
|
*/
|
|
public function set_locked($value)
|
|
{
|
|
$this->locked = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get locked
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_locked()
|
|
{
|
|
return $this->locked;
|
|
}
|
|
|
|
/**
|
|
* Set default_lowest_eval_exclude
|
|
*
|
|
* @param boolean $value
|
|
* @return GradebookCategory
|
|
*/
|
|
public function set_default_lowest_eval_exclude($value)
|
|
{
|
|
$this->default_lowest_eval_exclude = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get default_lowest_eval_exclude
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public function get_default_lowest_eval_exclude()
|
|
{
|
|
return $this->default_lowest_eval_exclude;
|
|
}
|
|
|
|
/**
|
|
* Set grade_model_id
|
|
*
|
|
* @param integer $value
|
|
* @return GradebookCategory
|
|
*/
|
|
public function set_grade_model_id($value)
|
|
{
|
|
$this->grade_model_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get grade_model_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_grade_model_id()
|
|
{
|
|
return $this->grade_model_id;
|
|
}
|
|
} |