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/GradebookResultLog.php

189 lines
3.0 KiB

<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* GradebookResultLog.
*
* @ORM\Table(name="gradebook_result_log")
* @ORM\Entity
*/
class GradebookResultLog
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
protected $id;
/**
* @var int
*
* @ORM\Column(name="id_result", type="integer", nullable=false)
*/
protected $idResult;
/**
* @var int
*
* @ORM\Column(name="user_id", type="integer", nullable=false)
*/
protected $userId;
/**
* @var int
*
* @ORM\Column(name="evaluation_id", type="integer", nullable=false)
*/
protected $evaluationId;
/**
* @var \DateTime
*
* @ORM\Column(name="created_at", type="datetime", nullable=false)
*/
protected $createdAt;
/**
* @var float
*
* @ORM\Column(name="score", type="float", precision=10, scale=0, nullable=true)
*/
protected $score;
/**
* Set idResult.
*
* @param int $idResult
*
* @return GradebookResultLog
*/
public function setIdResult($idResult)
{
$this->idResult = $idResult;
return $this;
}
/**
* Get idResult.
*
* @return int
*/
public function getIdResult()
{
return $this->idResult;
}
/**
* Set userId.
*
* @param int $userId
*
* @return GradebookResultLog
*/
public function setUserId($userId)
{
$this->userId = $userId;
return $this;
}
/**
* Get userId.
*
* @return int
*/
public function getUserId()
{
return $this->userId;
}
/**
* Set evaluationId.
*
* @param int $evaluationId
*
* @return GradebookResultLog
*/
public function setEvaluationId($evaluationId)
{
$this->evaluationId = $evaluationId;
return $this;
}
/**
* Get evaluationId.
*
* @return int
*/
public function getEvaluationId()
{
return $this->evaluationId;
}
/**
* Set createdAt.
*
* @param \DateTime $createdAt
*
* @return GradebookResultLog
*/
public function setCreatedAt($createdAt)
{
$this->createdAt = $createdAt;
return $this;
}
/**
* Get createdAt.
*
* @return \DateTime
*/
public function getCreatedAt()
{
return $this->createdAt;
}
/**
* Set score.
*
* @param float $score
*
* @return GradebookResultLog
*/
public function setScore($score)
{
$this->score = $score;
return $this;
}
/**
* Get score.
*
* @return float
*/
public function getScore()
{
return $this->score;
}
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
}