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.5 KiB
151 lines
2.5 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class GradebookScoreDisplay extends \Entity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\GradebookScoreDisplayRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\GradebookScoreDisplayRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\GradebookScoreDisplay
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var integer $id
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @var float $score
|
|
*/
|
|
protected $score;
|
|
|
|
/**
|
|
* @var string $display
|
|
*/
|
|
protected $display;
|
|
|
|
/**
|
|
* @var integer $category_id
|
|
*/
|
|
protected $category_id;
|
|
|
|
/**
|
|
* @var float $score_color_percent
|
|
*/
|
|
protected $score_color_percent;
|
|
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_id()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Set score
|
|
*
|
|
* @param float $value
|
|
* @return GradebookScoreDisplay
|
|
*/
|
|
public function set_score($value)
|
|
{
|
|
$this->score = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get score
|
|
*
|
|
* @return float
|
|
*/
|
|
public function get_score()
|
|
{
|
|
return $this->score;
|
|
}
|
|
|
|
/**
|
|
* Set display
|
|
*
|
|
* @param string $value
|
|
* @return GradebookScoreDisplay
|
|
*/
|
|
public function set_display($value)
|
|
{
|
|
$this->display = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get display
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_display()
|
|
{
|
|
return $this->display;
|
|
}
|
|
|
|
/**
|
|
* Set category_id
|
|
*
|
|
* @param integer $value
|
|
* @return GradebookScoreDisplay
|
|
*/
|
|
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 score_color_percent
|
|
*
|
|
* @param float $value
|
|
* @return GradebookScoreDisplay
|
|
*/
|
|
public function set_score_color_percent($value)
|
|
{
|
|
$this->score_color_percent = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get score_color_percent
|
|
*
|
|
* @return float
|
|
*/
|
|
public function get_score_color_percent()
|
|
{
|
|
return $this->score_color_percent;
|
|
}
|
|
} |