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.
286 lines
4.4 KiB
286 lines
4.4 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class GradebookLink extends \Entity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\GradebookLinkRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\GradebookLinkRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\GradebookLink
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var integer $id
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @var integer $type
|
|
*/
|
|
protected $type;
|
|
|
|
/**
|
|
* @var integer $ref_id
|
|
*/
|
|
protected $ref_id;
|
|
|
|
/**
|
|
* @var integer $user_id
|
|
*/
|
|
protected $user_id;
|
|
|
|
/**
|
|
* @var string $course_code
|
|
*/
|
|
protected $course_code;
|
|
|
|
/**
|
|
* @var integer $category_id
|
|
*/
|
|
protected $category_id;
|
|
|
|
/**
|
|
* @var datetime $created_at
|
|
*/
|
|
protected $created_at;
|
|
|
|
/**
|
|
* @var float $weight
|
|
*/
|
|
protected $weight;
|
|
|
|
/**
|
|
* @var integer $visible
|
|
*/
|
|
protected $visible;
|
|
|
|
/**
|
|
* @var integer $locked
|
|
*/
|
|
protected $locked;
|
|
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_id()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Set type
|
|
*
|
|
* @param integer $value
|
|
* @return GradebookLink
|
|
*/
|
|
public function set_type($value)
|
|
{
|
|
$this->type = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get type
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_type()
|
|
{
|
|
return $this->type;
|
|
}
|
|
|
|
/**
|
|
* Set ref_id
|
|
*
|
|
* @param integer $value
|
|
* @return GradebookLink
|
|
*/
|
|
public function set_ref_id($value)
|
|
{
|
|
$this->ref_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get ref_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_ref_id()
|
|
{
|
|
return $this->ref_id;
|
|
}
|
|
|
|
/**
|
|
* Set user_id
|
|
*
|
|
* @param integer $value
|
|
* @return GradebookLink
|
|
*/
|
|
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 GradebookLink
|
|
*/
|
|
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 category_id
|
|
*
|
|
* @param integer $value
|
|
* @return GradebookLink
|
|
*/
|
|
public function set_category_id($value)
|
|
{
|
|
$this->category_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get category_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_category_id()
|
|
{
|
|
return $this->category_id;
|
|
}
|
|
|
|
/**
|
|
* Set created_at
|
|
*
|
|
* @param datetime $value
|
|
* @return GradebookLink
|
|
*/
|
|
public function set_created_at($value)
|
|
{
|
|
$this->created_at = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get created_at
|
|
*
|
|
* @return datetime
|
|
*/
|
|
public function get_created_at()
|
|
{
|
|
return $this->created_at;
|
|
}
|
|
|
|
/**
|
|
* Set weight
|
|
*
|
|
* @param float $value
|
|
* @return GradebookLink
|
|
*/
|
|
public function set_weight($value)
|
|
{
|
|
$this->weight = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get weight
|
|
*
|
|
* @return float
|
|
*/
|
|
public function get_weight()
|
|
{
|
|
return $this->weight;
|
|
}
|
|
|
|
/**
|
|
* Set visible
|
|
*
|
|
* @param integer $value
|
|
* @return GradebookLink
|
|
*/
|
|
public function set_visible($value)
|
|
{
|
|
$this->visible = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get visible
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_visible()
|
|
{
|
|
return $this->visible;
|
|
}
|
|
|
|
/**
|
|
* Set locked
|
|
*
|
|
* @param integer $value
|
|
* @return GradebookLink
|
|
*/
|
|
public function set_locked($value)
|
|
{
|
|
$this->locked = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get locked
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_locked()
|
|
{
|
|
return $this->locked;
|
|
}
|
|
} |