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/src/Chamilo/CoreBundle/Entity/GradeComponents.php

154 lines
2.5 KiB

<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* GradeComponents
*
* @ORM\Table(name="grade_components")
* @ORM\Entity
*/
class GradeComponents
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="percentage", type="string", length=255, nullable=false)
*/
private $percentage;
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=255, nullable=false)
*/
private $title;
/**
* @var string
*
* @ORM\Column(name="acronym", type="string", length=255, nullable=false)
*/
private $acronym;
/**
* @var integer
*
* @ORM\Column(name="grade_model_id", type="integer", nullable=false)
*/
private $gradeModelId;
/**
* Set percentage
*
* @param string $percentage
* @return GradeComponents
*/
public function setPercentage($percentage)
{
$this->percentage = $percentage;
return $this;
}
/**
* Get percentage
*
* @return string
*/
public function getPercentage()
{
return $this->percentage;
}
/**
* Set title
*
* @param string $title
* @return GradeComponents
*/
public function setTitle($title)
{
$this->title = $title;
return $this;
}
/**
* Get title
*
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* Set acronym
*
* @param string $acronym
* @return GradeComponents
*/
public function setAcronym($acronym)
{
$this->acronym = $acronym;
return $this;
}
/**
* Get acronym
*
* @return string
*/
public function getAcronym()
{
return $this->acronym;
}
/**
* Set gradeModelId
*
* @param integer $gradeModelId
* @return GradeComponents
*/
public function setGradeModelId($gradeModelId)
{
$this->gradeModelId = $gradeModelId;
return $this;
}
/**
* Get gradeModelId
*
* @return integer
*/
public function getGradeModelId()
{
return $this->gradeModelId;
}
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
}