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/main/inc/Entity/EntityCLpItemView.php

409 lines
7.0 KiB

<?php
use Doctrine\ORM\Mapping as ORM;
/**
* EntityCLpItemView
*
* @Table(name="c_lp_item_view")
* @Entity
*/
class EntityCLpItemView
{
/**
* @var integer
*
* @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
* @Id
* @GeneratedValue(strategy="NONE")
*/
private $cId;
/**
* @var integer
*
* @Column(name="id", type="bigint", precision=0, scale=0, nullable=false, unique=false)
* @Id
* @GeneratedValue(strategy="NONE")
*/
private $id;
/**
* @var integer
*
* @Column(name="lp_item_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $lpItemId;
/**
* @var integer
*
* @Column(name="lp_view_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $lpViewId;
/**
* @var integer
*
* @Column(name="view_count", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $viewCount;
/**
* @var integer
*
* @Column(name="start_time", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $startTime;
/**
* @var integer
*
* @Column(name="total_time", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $totalTime;
/**
* @var float
*
* @Column(name="score", type="float", precision=0, scale=0, nullable=false, unique=false)
*/
private $score;
/**
* @var string
*
* @Column(name="status", type="string", length=32, precision=0, scale=0, nullable=false, unique=false)
*/
private $status;
/**
* @var string
*
* @Column(name="suspend_data", type="text", precision=0, scale=0, nullable=true, unique=false)
*/
private $suspendData;
/**
* @var string
*
* @Column(name="lesson_location", type="text", precision=0, scale=0, nullable=true, unique=false)
*/
private $lessonLocation;
/**
* @var string
*
* @Column(name="core_exit", type="string", length=32, precision=0, scale=0, nullable=false, unique=false)
*/
private $coreExit;
/**
* @var string
*
* @Column(name="max_score", type="string", length=8, precision=0, scale=0, nullable=true, unique=false)
*/
private $maxScore;
/**
* Set cId
*
* @param integer $cId
* @return EntityCLpItemView
*/
public function setCId($cId)
{
$this->cId = $cId;
return $this;
}
/**
* Get cId
*
* @return integer
*/
public function getCId()
{
return $this->cId;
}
/**
* Set id
*
* @param integer $id
* @return EntityCLpItemView
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set lpItemId
*
* @param integer $lpItemId
* @return EntityCLpItemView
*/
public function setLpItemId($lpItemId)
{
$this->lpItemId = $lpItemId;
return $this;
}
/**
* Get lpItemId
*
* @return integer
*/
public function getLpItemId()
{
return $this->lpItemId;
}
/**
* Set lpViewId
*
* @param integer $lpViewId
* @return EntityCLpItemView
*/
public function setLpViewId($lpViewId)
{
$this->lpViewId = $lpViewId;
return $this;
}
/**
* Get lpViewId
*
* @return integer
*/
public function getLpViewId()
{
return $this->lpViewId;
}
/**
* Set viewCount
*
* @param integer $viewCount
* @return EntityCLpItemView
*/
public function setViewCount($viewCount)
{
$this->viewCount = $viewCount;
return $this;
}
/**
* Get viewCount
*
* @return integer
*/
public function getViewCount()
{
return $this->viewCount;
}
/**
* Set startTime
*
* @param integer $startTime
* @return EntityCLpItemView
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
return $this;
}
/**
* Get startTime
*
* @return integer
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* Set totalTime
*
* @param integer $totalTime
* @return EntityCLpItemView
*/
public function setTotalTime($totalTime)
{
$this->totalTime = $totalTime;
return $this;
}
/**
* Get totalTime
*
* @return integer
*/
public function getTotalTime()
{
return $this->totalTime;
}
/**
* Set score
*
* @param float $score
* @return EntityCLpItemView
*/
public function setScore($score)
{
$this->score = $score;
return $this;
}
/**
* Get score
*
* @return float
*/
public function getScore()
{
return $this->score;
}
/**
* Set status
*
* @param string $status
* @return EntityCLpItemView
*/
public function setStatus($status)
{
$this->status = $status;
return $this;
}
/**
* Get status
*
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* Set suspendData
*
* @param string $suspendData
* @return EntityCLpItemView
*/
public function setSuspendData($suspendData)
{
$this->suspendData = $suspendData;
return $this;
}
/**
* Get suspendData
*
* @return string
*/
public function getSuspendData()
{
return $this->suspendData;
}
/**
* Set lessonLocation
*
* @param string $lessonLocation
* @return EntityCLpItemView
*/
public function setLessonLocation($lessonLocation)
{
$this->lessonLocation = $lessonLocation;
return $this;
}
/**
* Get lessonLocation
*
* @return string
*/
public function getLessonLocation()
{
return $this->lessonLocation;
}
/**
* Set coreExit
*
* @param string $coreExit
* @return EntityCLpItemView
*/
public function setCoreExit($coreExit)
{
$this->coreExit = $coreExit;
return $this;
}
/**
* Get coreExit
*
* @return string
*/
public function getCoreExit()
{
return $this->coreExit;
}
/**
* Set maxScore
*
* @param string $maxScore
* @return EntityCLpItemView
*/
public function setMaxScore($maxScore)
{
$this->maxScore = $maxScore;
return $this;
}
/**
* Get maxScore
*
* @return string
*/
public function getMaxScore()
{
return $this->maxScore;
}
}