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/EntityGradebookScoreDisplay...

154 lines
2.7 KiB

<?php
use Doctrine\ORM\Mapping as ORM;
/**
* EntityGradebookScoreDisplay
*
* @Table(name="gradebook_score_display")
* @Entity
*/
class EntityGradebookScoreDisplay
{
/**
* @var integer
*
* @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
* @Id
* @GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var float
*
* @Column(name="score", type="float", precision=0, scale=0, nullable=false, unique=false)
*/
private $score;
/**
* @var string
*
* @Column(name="display", type="string", length=40, precision=0, scale=0, nullable=false, unique=false)
*/
private $display;
/**
* @var integer
*
* @Column(name="category_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $categoryId;
/**
* @var float
*
* @Column(name="score_color_percent", type="float", precision=0, scale=0, nullable=false, unique=false)
*/
private $scoreColorPercent;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set score
*
* @param float $score
* @return EntityGradebookScoreDisplay
*/
public function setScore($score)
{
$this->score = $score;
return $this;
}
/**
* Get score
*
* @return float
*/
public function getScore()
{
return $this->score;
}
/**
* Set display
*
* @param string $display
* @return EntityGradebookScoreDisplay
*/
public function setDisplay($display)
{
$this->display = $display;
return $this;
}
/**
* Get display
*
* @return string
*/
public function getDisplay()
{
return $this->display;
}
/**
* Set categoryId
*
* @param integer $categoryId
* @return EntityGradebookScoreDisplay
*/
public function setCategoryId($categoryId)
{
$this->categoryId = $categoryId;
return $this;
}
/**
* Get categoryId
*
* @return integer
*/
public function getCategoryId()
{
return $this->categoryId;
}
/**
* Set scoreColorPercent
*
* @param float $scoreColorPercent
* @return EntityGradebookScoreDisplay
*/
public function setScoreColorPercent($scoreColorPercent)
{
$this->scoreColorPercent = $scoreColorPercent;
return $this;
}
/**
* Get scoreColorPercent
*
* @return float
*/
public function getScoreColorPercent()
{
return $this->scoreColorPercent;
}
}