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.
272 lines
4.5 KiB
272 lines
4.5 KiB
<?php
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
namespace Chamilo\CourseBundle\Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* CForumThreadQualifyLog
|
|
*
|
|
* @ORM\Table(name="c_forum_thread_qualify_log", indexes={@ORM\Index(name="user_id", columns={"user_id", "thread_id"})})
|
|
* @ORM\Entity
|
|
*/
|
|
class CForumThreadQualifyLog
|
|
{
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @ORM\Column(name="iid", type="integer")
|
|
* @ORM\Id
|
|
* @ORM\GeneratedValue
|
|
*/
|
|
private $iid;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @ORM\Column(name="c_id", type="integer")
|
|
*/
|
|
private $cId;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @ORM\Column(name="id", type="integer", nullable=true)
|
|
*/
|
|
private $id;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @ORM\Column(name="user_id", type="integer", nullable=false)
|
|
*/
|
|
private $userId;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @ORM\Column(name="thread_id", type="integer", nullable=false)
|
|
*/
|
|
private $threadId;
|
|
|
|
/**
|
|
* @var float
|
|
*
|
|
* @ORM\Column(name="qualify", type="float", precision=6, scale=2, nullable=false)
|
|
*/
|
|
private $qualify;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @ORM\Column(name="qualify_user_id", type="integer", nullable=true)
|
|
*/
|
|
private $qualifyUserId;
|
|
|
|
/**
|
|
* @var \DateTime
|
|
*
|
|
* @ORM\Column(name="qualify_time", type="datetime", nullable=true)
|
|
*/
|
|
private $qualifyTime;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @ORM\Column(name="session_id", type="integer", nullable=true)
|
|
*/
|
|
private $sessionId;
|
|
|
|
/**
|
|
* Set userId
|
|
*
|
|
* @param integer $userId
|
|
*
|
|
* @return CForumThreadQualifyLog
|
|
*/
|
|
public function setUserId($userId)
|
|
{
|
|
$this->userId = $userId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get userId
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getUserId()
|
|
{
|
|
return $this->userId;
|
|
}
|
|
|
|
/**
|
|
* Set threadId
|
|
*
|
|
* @param integer $threadId
|
|
*
|
|
* @return CForumThreadQualifyLog
|
|
*/
|
|
public function setThreadId($threadId)
|
|
{
|
|
$this->threadId = $threadId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get threadId
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getThreadId()
|
|
{
|
|
return $this->threadId;
|
|
}
|
|
|
|
/**
|
|
* Set qualify
|
|
*
|
|
* @param float $qualify
|
|
*
|
|
* @return CForumThreadQualifyLog
|
|
*/
|
|
public function setQualify($qualify)
|
|
{
|
|
$this->qualify = $qualify;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get qualify
|
|
*
|
|
* @return float
|
|
*/
|
|
public function getQualify()
|
|
{
|
|
return $this->qualify;
|
|
}
|
|
|
|
/**
|
|
* Set qualifyUserId
|
|
*
|
|
* @param integer $qualifyUserId
|
|
*
|
|
* @return CForumThreadQualifyLog
|
|
*/
|
|
public function setQualifyUserId($qualifyUserId)
|
|
{
|
|
$this->qualifyUserId = $qualifyUserId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get qualifyUserId
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getQualifyUserId()
|
|
{
|
|
return $this->qualifyUserId;
|
|
}
|
|
|
|
/**
|
|
* Set qualifyTime
|
|
*
|
|
* @param \DateTime $qualifyTime
|
|
*
|
|
* @return CForumThreadQualifyLog
|
|
*/
|
|
public function setQualifyTime($qualifyTime)
|
|
{
|
|
$this->qualifyTime = $qualifyTime;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get qualifyTime
|
|
*
|
|
* @return \DateTime
|
|
*/
|
|
public function getQualifyTime()
|
|
{
|
|
return $this->qualifyTime;
|
|
}
|
|
|
|
/**
|
|
* Set sessionId
|
|
*
|
|
* @param integer $sessionId
|
|
*
|
|
* @return CForumThreadQualifyLog
|
|
*/
|
|
public function setSessionId($sessionId)
|
|
{
|
|
$this->sessionId = $sessionId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get sessionId
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getSessionId()
|
|
{
|
|
return $this->sessionId;
|
|
}
|
|
|
|
/**
|
|
* Set id
|
|
*
|
|
* @param integer $id
|
|
*
|
|
* @return CForumThreadQualifyLog
|
|
*/
|
|
public function setId($id)
|
|
{
|
|
$this->id = $id;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getId()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Set cId
|
|
*
|
|
* @param integer $cId
|
|
*
|
|
* @return CForumThreadQualifyLog
|
|
*/
|
|
public function setCId($cId)
|
|
{
|
|
$this->cId = $cId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get cId
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getCId()
|
|
{
|
|
return $this->cId;
|
|
}
|
|
}
|
|
|