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.
596 lines
10 KiB
596 lines
10 KiB
<?php
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
namespace Chamilo\CoreBundle\Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* TrackEExercises.
|
|
*
|
|
* @ORM\Table(name="track_e_exercises", indexes={
|
|
* @ORM\Index(name="idx_tee_user_id", columns={"exe_user_id"}),
|
|
* @ORM\Index(name="idx_tee_c_id", columns={"c_id"}),
|
|
* @ORM\Index(name="session_id", columns={"session_id"})
|
|
* })
|
|
* @ORM\Entity
|
|
*/
|
|
class TrackEExercises
|
|
{
|
|
/**
|
|
* @var int
|
|
*
|
|
* @ORM\Column(name="exe_user_id", type="integer", nullable=true)
|
|
*/
|
|
protected $exeUserId;
|
|
|
|
/**
|
|
* @var \DateTime
|
|
*
|
|
* @ORM\Column(name="exe_date", type="datetime", nullable=false)
|
|
*/
|
|
protected $exeDate;
|
|
|
|
/**
|
|
* @var int
|
|
*
|
|
* @ORM\Column(name="c_id", type="integer", nullable=false)
|
|
*/
|
|
protected $cId;
|
|
|
|
/**
|
|
* @var int
|
|
*
|
|
* @ORM\Column(name="exe_exo_id", type="integer", nullable=false)
|
|
*/
|
|
protected $exeExoId;
|
|
|
|
/**
|
|
* @var float
|
|
*
|
|
* @ORM\Column(name="exe_result", type="float", precision=6, scale=2, nullable=false)
|
|
*/
|
|
protected $exeResult;
|
|
|
|
/**
|
|
* @var float
|
|
*
|
|
* @ORM\Column(name="exe_weighting", type="float", precision=6, scale=2, nullable=false)
|
|
*/
|
|
protected $exeWeighting;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="user_ip", type="string", length=39, nullable=false)
|
|
*/
|
|
protected $userIp;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="status", type="string", length=20, nullable=false)
|
|
*/
|
|
protected $status;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="data_tracking", type="text", nullable=false)
|
|
*/
|
|
protected $dataTracking;
|
|
|
|
/**
|
|
* @var \DateTime
|
|
*
|
|
* @ORM\Column(name="start_date", type="datetime", nullable=false)
|
|
*/
|
|
protected $startDate;
|
|
|
|
/**
|
|
* @var int
|
|
*
|
|
* @ORM\Column(name="steps_counter", type="smallint", nullable=false)
|
|
*/
|
|
protected $stepsCounter;
|
|
|
|
/**
|
|
* @var int
|
|
*
|
|
* @ORM\Column(name="session_id", type="integer", nullable=false)
|
|
*/
|
|
protected $sessionId;
|
|
|
|
/**
|
|
* @var int
|
|
*
|
|
* @ORM\Column(name="orig_lp_id", type="integer", nullable=false)
|
|
*/
|
|
protected $origLpId;
|
|
|
|
/**
|
|
* @var int
|
|
*
|
|
* @ORM\Column(name="orig_lp_item_id", type="integer", nullable=false)
|
|
*/
|
|
protected $origLpItemId;
|
|
|
|
/**
|
|
* @var int
|
|
*
|
|
* @ORM\Column(name="exe_duration", type="integer", nullable=false)
|
|
*/
|
|
protected $exeDuration;
|
|
|
|
/**
|
|
* @var \DateTime
|
|
*
|
|
* @ORM\Column(name="expired_time_control", type="datetime", nullable=true)
|
|
*/
|
|
protected $expiredTimeControl;
|
|
|
|
/**
|
|
* @var int
|
|
*
|
|
* @ORM\Column(name="orig_lp_item_view_id", type="integer", nullable=false)
|
|
*/
|
|
protected $origLpItemViewId;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="questions_to_check", type="text", nullable=false)
|
|
*/
|
|
protected $questionsToCheck;
|
|
|
|
/**
|
|
* @var int
|
|
*
|
|
* @ORM\Column(name="exe_id", type="integer")
|
|
* @ORM\Id
|
|
* @ORM\GeneratedValue(strategy="IDENTITY")
|
|
*/
|
|
protected $exeId;
|
|
|
|
/**
|
|
* Set exeUserId.
|
|
*
|
|
* @param int $exeUserId
|
|
*
|
|
* @return TrackEExercises
|
|
*/
|
|
public function setExeUserId($exeUserId)
|
|
{
|
|
$this->exeUserId = $exeUserId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get exeUserId.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function getExeUserId()
|
|
{
|
|
return $this->exeUserId;
|
|
}
|
|
|
|
/**
|
|
* Set exeDate.
|
|
*
|
|
* @param \DateTime $exeDate
|
|
*
|
|
* @return TrackEExercises
|
|
*/
|
|
public function setExeDate($exeDate)
|
|
{
|
|
$this->exeDate = $exeDate;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get exeDate.
|
|
*
|
|
* @return \DateTime
|
|
*/
|
|
public function getExeDate()
|
|
{
|
|
return $this->exeDate;
|
|
}
|
|
|
|
/**
|
|
* Set cId.
|
|
*
|
|
* @param int $cId
|
|
*
|
|
* @return TrackEExercises
|
|
*/
|
|
public function setCId($cId)
|
|
{
|
|
$this->cId = $cId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get cId.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function getCId()
|
|
{
|
|
return $this->cId;
|
|
}
|
|
|
|
/**
|
|
* Set exeExoId.
|
|
*
|
|
* @param int $exeExoId
|
|
*
|
|
* @return TrackEExercises
|
|
*/
|
|
public function setExeExoId($exeExoId)
|
|
{
|
|
$this->exeExoId = $exeExoId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get exeExoId.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function getExeExoId()
|
|
{
|
|
return $this->exeExoId;
|
|
}
|
|
|
|
/**
|
|
* Set exeResult.
|
|
*
|
|
* @param float $exeResult
|
|
*
|
|
* @return TrackEExercises
|
|
*/
|
|
public function setExeResult($exeResult)
|
|
{
|
|
$this->exeResult = $exeResult;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get exeResult.
|
|
*
|
|
* @return float
|
|
*/
|
|
public function getExeResult()
|
|
{
|
|
return $this->exeResult;
|
|
}
|
|
|
|
/**
|
|
* Set exeWeighting.
|
|
*
|
|
* @param float $exeWeighting
|
|
*
|
|
* @return TrackEExercises
|
|
*/
|
|
public function setExeWeighting($exeWeighting)
|
|
{
|
|
$this->exeWeighting = $exeWeighting;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get exeWeighting.
|
|
*
|
|
* @return float
|
|
*/
|
|
public function getExeWeighting()
|
|
{
|
|
return $this->exeWeighting;
|
|
}
|
|
|
|
/**
|
|
* Set userIp.
|
|
*
|
|
* @param string $userIp
|
|
*
|
|
* @return TrackEExercises
|
|
*/
|
|
public function setUserIp($userIp)
|
|
{
|
|
$this->userIp = $userIp;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get userIp.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getUserIp()
|
|
{
|
|
return $this->userIp;
|
|
}
|
|
|
|
/**
|
|
* Set status.
|
|
*
|
|
* @param string $status
|
|
*
|
|
* @return TrackEExercises
|
|
*/
|
|
public function setStatus($status)
|
|
{
|
|
$this->status = $status;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get status.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getStatus()
|
|
{
|
|
return $this->status;
|
|
}
|
|
|
|
/**
|
|
* Set dataTracking.
|
|
*
|
|
* @param string $dataTracking
|
|
*
|
|
* @return TrackEExercises
|
|
*/
|
|
public function setDataTracking($dataTracking)
|
|
{
|
|
$this->dataTracking = $dataTracking;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get dataTracking.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getDataTracking()
|
|
{
|
|
return $this->dataTracking;
|
|
}
|
|
|
|
/**
|
|
* Set startDate.
|
|
*
|
|
* @param \DateTime $startDate
|
|
*
|
|
* @return TrackEExercises
|
|
*/
|
|
public function setStartDate($startDate)
|
|
{
|
|
$this->startDate = $startDate;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get startDate.
|
|
*
|
|
* @return \DateTime
|
|
*/
|
|
public function getStartDate()
|
|
{
|
|
return $this->startDate;
|
|
}
|
|
|
|
/**
|
|
* Set stepsCounter.
|
|
*
|
|
* @param int $stepsCounter
|
|
*
|
|
* @return TrackEExercises
|
|
*/
|
|
public function setStepsCounter($stepsCounter)
|
|
{
|
|
$this->stepsCounter = $stepsCounter;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get stepsCounter.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function getStepsCounter()
|
|
{
|
|
return $this->stepsCounter;
|
|
}
|
|
|
|
/**
|
|
* Set sessionId.
|
|
*
|
|
* @param int $sessionId
|
|
*
|
|
* @return TrackEExercises
|
|
*/
|
|
public function setSessionId($sessionId)
|
|
{
|
|
$this->sessionId = $sessionId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get sessionId.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function getSessionId()
|
|
{
|
|
return $this->sessionId;
|
|
}
|
|
|
|
/**
|
|
* Set origLpId.
|
|
*
|
|
* @param int $origLpId
|
|
*
|
|
* @return TrackEExercises
|
|
*/
|
|
public function setOrigLpId($origLpId)
|
|
{
|
|
$this->origLpId = $origLpId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get origLpId.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function getOrigLpId()
|
|
{
|
|
return $this->origLpId;
|
|
}
|
|
|
|
/**
|
|
* Set origLpItemId.
|
|
*
|
|
* @param int $origLpItemId
|
|
*
|
|
* @return TrackEExercises
|
|
*/
|
|
public function setOrigLpItemId($origLpItemId)
|
|
{
|
|
$this->origLpItemId = $origLpItemId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get origLpItemId.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function getOrigLpItemId()
|
|
{
|
|
return $this->origLpItemId;
|
|
}
|
|
|
|
/**
|
|
* Set exeDuration.
|
|
*
|
|
* @param int $exeDuration
|
|
*
|
|
* @return TrackEExercises
|
|
*/
|
|
public function setExeDuration($exeDuration)
|
|
{
|
|
$this->exeDuration = $exeDuration;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get exeDuration.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function getExeDuration()
|
|
{
|
|
return $this->exeDuration;
|
|
}
|
|
|
|
/**
|
|
* Set expiredTimeControl.
|
|
*
|
|
* @param \DateTime $expiredTimeControl
|
|
*
|
|
* @return TrackEExercises
|
|
*/
|
|
public function setExpiredTimeControl($expiredTimeControl)
|
|
{
|
|
$this->expiredTimeControl = $expiredTimeControl;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get expiredTimeControl.
|
|
*
|
|
* @return \DateTime
|
|
*/
|
|
public function getExpiredTimeControl()
|
|
{
|
|
return $this->expiredTimeControl;
|
|
}
|
|
|
|
/**
|
|
* Set origLpItemViewId.
|
|
*
|
|
* @param int $origLpItemViewId
|
|
*
|
|
* @return TrackEExercises
|
|
*/
|
|
public function setOrigLpItemViewId($origLpItemViewId)
|
|
{
|
|
$this->origLpItemViewId = $origLpItemViewId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get origLpItemViewId.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function getOrigLpItemViewId()
|
|
{
|
|
return $this->origLpItemViewId;
|
|
}
|
|
|
|
/**
|
|
* Set questionsToCheck.
|
|
*
|
|
* @param string $questionsToCheck
|
|
*
|
|
* @return TrackEExercises
|
|
*/
|
|
public function setQuestionsToCheck($questionsToCheck)
|
|
{
|
|
$this->questionsToCheck = $questionsToCheck;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get questionsToCheck.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getQuestionsToCheck()
|
|
{
|
|
return $this->questionsToCheck;
|
|
}
|
|
|
|
/**
|
|
* Get exeId.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function getExeId()
|
|
{
|
|
return $this->exeId;
|
|
}
|
|
}
|
|
|