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/SessionFieldValues.php

78 lines
1.4 KiB

<?php
namespace Entity;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
/**
* SessionFieldValues
*
* @ORM\Table(name="session_field_values")
* @ORM\Entity
* @Gedmo\Loggable
*/
class SessionFieldValues extends ExtraFieldValues
{
/**
* @var integer
*
* @ORM\Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $sessionId;
/**
* @var string
* @Gedmo\Versioned
*
* @ORM\Column(name="field_value", type="text", precision=0, scale=0, nullable=true, unique=false)
*/
private $fieldValue;
/**
* Set fieldValue
*
* @param string $fieldValue
* @return ExtraFieldValues
*/
public function setFieldValue($fieldValue)
{
$this->fieldValue = $fieldValue;
return $this;
}
/**
* Get fieldValue
*
* @return string
*/
public function getFieldValue()
{
return $this->fieldValue;
}
/**
* Set questionId
*
* @param integer $questionId
* @return QuestionFieldValues
*/
public function setSessionId($id)
{
$this->sessionId = $id;
return $this;
}
/**
* Get questionId
*
* @return integer
*/
public function getSessionId()
{
return $this->sessionId;
}
}