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.
163 lines
2.5 KiB
163 lines
2.5 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class AttendanceResult extends \CourseEntity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\AttendanceResultRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\AttendanceResultRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\AttendanceResult
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var integer $c_id
|
|
*/
|
|
protected $c_id;
|
|
|
|
/**
|
|
* @var integer $id
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @var integer $user_id
|
|
*/
|
|
protected $user_id;
|
|
|
|
/**
|
|
* @var integer $attendance_id
|
|
*/
|
|
protected $attendance_id;
|
|
|
|
/**
|
|
* @var integer $score
|
|
*/
|
|
protected $score;
|
|
|
|
|
|
/**
|
|
* Set c_id
|
|
*
|
|
* @param integer $value
|
|
* @return AttendanceResult
|
|
*/
|
|
public function set_c_id($value)
|
|
{
|
|
$this->c_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get c_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_c_id()
|
|
{
|
|
return $this->c_id;
|
|
}
|
|
|
|
/**
|
|
* Set id
|
|
*
|
|
* @param integer $value
|
|
* @return AttendanceResult
|
|
*/
|
|
public function set_id($value)
|
|
{
|
|
$this->id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_id()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Set user_id
|
|
*
|
|
* @param integer $value
|
|
* @return AttendanceResult
|
|
*/
|
|
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 attendance_id
|
|
*
|
|
* @param integer $value
|
|
* @return AttendanceResult
|
|
*/
|
|
public function set_attendance_id($value)
|
|
{
|
|
$this->attendance_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get attendance_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_attendance_id()
|
|
{
|
|
return $this->attendance_id;
|
|
}
|
|
|
|
/**
|
|
* Set score
|
|
*
|
|
* @param integer $value
|
|
* @return AttendanceResult
|
|
*/
|
|
public function set_score($value)
|
|
{
|
|
$this->score = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get score
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_score()
|
|
{
|
|
return $this->score;
|
|
}
|
|
} |