178 lines
2.8 KiB
178 lines
2.8 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class GradebookResultLog extends \Entity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\GradebookResultLogRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\GradebookResultLogRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\GradebookResultLog
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var integer $id
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @var integer $id_result
|
|
*/
|
|
protected $id_result;
|
|
|
|
/**
|
|
* @var integer $user_id
|
|
*/
|
|
protected $user_id;
|
|
|
|
/**
|
|
* @var integer $evaluation_id
|
|
*/
|
|
protected $evaluation_id;
|
|
|
|
/**
|
|
* @var datetime $created_at
|
|
*/
|
|
protected $created_at;
|
|
|
|
/**
|
|
* @var float $score
|
|
*/
|
|
protected $score;
|
|
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_id()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Set id_result
|
|
*
|
|
* @param integer $value
|
|
* @return GradebookResultLog
|
|
*/
|
|
public function set_id_result($value)
|
|
{
|
|
$this->id_result = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get id_result
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_id_result()
|
|
{
|
|
return $this->id_result;
|
|
}
|
|
|
|
/**
|
|
* Set user_id
|
|
*
|
|
* @param integer $value
|
|
* @return GradebookResultLog
|
|
*/
|
|
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 evaluation_id
|
|
*
|
|
* @param integer $value
|
|
* @return GradebookResultLog
|
|
*/
|
|
public function set_evaluation_id($value)
|
|
{
|
|
$this->evaluation_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get evaluation_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_evaluation_id()
|
|
{
|
|
return $this->evaluation_id;
|
|
}
|
|
|
|
/**
|
|
* Set created_at
|
|
*
|
|
* @param datetime $value
|
|
* @return GradebookResultLog
|
|
*/
|
|
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 score
|
|
*
|
|
* @param float $value
|
|
* @return GradebookResultLog
|
|
*/
|
|
public function set_score($value)
|
|
{
|
|
$this->score = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get score
|
|
*
|
|
* @return float
|
|
*/
|
|
public function get_score()
|
|
{
|
|
return $this->score;
|
|
}
|
|
} |