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.
340 lines
5.3 KiB
340 lines
5.3 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class TrackEAttempt extends \Entity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\TrackEAttemptRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\TrackEAttemptRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\TrackEAttempt
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var integer $id
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @var integer $exe_id
|
|
*/
|
|
protected $exe_id;
|
|
|
|
/**
|
|
* @var integer $user_id
|
|
*/
|
|
protected $user_id;
|
|
|
|
/**
|
|
* @var integer $question_id
|
|
*/
|
|
protected $question_id;
|
|
|
|
/**
|
|
* @var text $answer
|
|
*/
|
|
protected $answer;
|
|
|
|
/**
|
|
* @var text $teacher_comment
|
|
*/
|
|
protected $teacher_comment;
|
|
|
|
/**
|
|
* @var float $marks
|
|
*/
|
|
protected $marks;
|
|
|
|
/**
|
|
* @var string $course_code
|
|
*/
|
|
protected $course_code;
|
|
|
|
/**
|
|
* @var integer $position
|
|
*/
|
|
protected $position;
|
|
|
|
/**
|
|
* @var datetime $tms
|
|
*/
|
|
protected $tms;
|
|
|
|
/**
|
|
* @var integer $session_id
|
|
*/
|
|
protected $session_id;
|
|
|
|
/**
|
|
* @var string $filename
|
|
*/
|
|
protected $filename;
|
|
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_id()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Set exe_id
|
|
*
|
|
* @param integer $value
|
|
* @return TrackEAttempt
|
|
*/
|
|
public function set_exe_id($value)
|
|
{
|
|
$this->exe_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get exe_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_exe_id()
|
|
{
|
|
return $this->exe_id;
|
|
}
|
|
|
|
/**
|
|
* Set user_id
|
|
*
|
|
* @param integer $value
|
|
* @return TrackEAttempt
|
|
*/
|
|
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 question_id
|
|
*
|
|
* @param integer $value
|
|
* @return TrackEAttempt
|
|
*/
|
|
public function set_question_id($value)
|
|
{
|
|
$this->question_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get question_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_question_id()
|
|
{
|
|
return $this->question_id;
|
|
}
|
|
|
|
/**
|
|
* Set answer
|
|
*
|
|
* @param text $value
|
|
* @return TrackEAttempt
|
|
*/
|
|
public function set_answer($value)
|
|
{
|
|
$this->answer = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get answer
|
|
*
|
|
* @return text
|
|
*/
|
|
public function get_answer()
|
|
{
|
|
return $this->answer;
|
|
}
|
|
|
|
/**
|
|
* Set teacher_comment
|
|
*
|
|
* @param text $value
|
|
* @return TrackEAttempt
|
|
*/
|
|
public function set_teacher_comment($value)
|
|
{
|
|
$this->teacher_comment = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get teacher_comment
|
|
*
|
|
* @return text
|
|
*/
|
|
public function get_teacher_comment()
|
|
{
|
|
return $this->teacher_comment;
|
|
}
|
|
|
|
/**
|
|
* Set marks
|
|
*
|
|
* @param float $value
|
|
* @return TrackEAttempt
|
|
*/
|
|
public function set_marks($value)
|
|
{
|
|
$this->marks = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get marks
|
|
*
|
|
* @return float
|
|
*/
|
|
public function get_marks()
|
|
{
|
|
return $this->marks;
|
|
}
|
|
|
|
/**
|
|
* Set course_code
|
|
*
|
|
* @param string $value
|
|
* @return TrackEAttempt
|
|
*/
|
|
public function set_course_code($value)
|
|
{
|
|
$this->course_code = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get course_code
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_course_code()
|
|
{
|
|
return $this->course_code;
|
|
}
|
|
|
|
/**
|
|
* Set position
|
|
*
|
|
* @param integer $value
|
|
* @return TrackEAttempt
|
|
*/
|
|
public function set_position($value)
|
|
{
|
|
$this->position = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get position
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_position()
|
|
{
|
|
return $this->position;
|
|
}
|
|
|
|
/**
|
|
* Set tms
|
|
*
|
|
* @param datetime $value
|
|
* @return TrackEAttempt
|
|
*/
|
|
public function set_tms($value)
|
|
{
|
|
$this->tms = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get tms
|
|
*
|
|
* @return datetime
|
|
*/
|
|
public function get_tms()
|
|
{
|
|
return $this->tms;
|
|
}
|
|
|
|
/**
|
|
* Set session_id
|
|
*
|
|
* @param integer $value
|
|
* @return TrackEAttempt
|
|
*/
|
|
public function set_session_id($value)
|
|
{
|
|
$this->session_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get session_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_session_id()
|
|
{
|
|
return $this->session_id;
|
|
}
|
|
|
|
/**
|
|
* Set filename
|
|
*
|
|
* @param string $value
|
|
* @return TrackEAttempt
|
|
*/
|
|
public function set_filename($value)
|
|
{
|
|
$this->filename = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get filename
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_filename()
|
|
{
|
|
return $this->filename;
|
|
}
|
|
} |