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.
529 lines
9.8 KiB
529 lines
9.8 KiB
<?php
|
|
|
|
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* EntityCForumThread
|
|
*
|
|
* @Table(name="c_forum_thread")
|
|
* @Entity
|
|
*/
|
|
class EntityCForumThread
|
|
{
|
|
/**
|
|
* @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="thread_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
|
|
* @Id
|
|
* @GeneratedValue(strategy="NONE")
|
|
*/
|
|
private $threadId;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @Column(name="thread_title", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $threadTitle;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @Column(name="forum_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $forumId;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @Column(name="thread_replies", type="integer", precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $threadReplies;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @Column(name="thread_poster_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $threadPosterId;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @Column(name="thread_poster_name", type="string", length=100, precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $threadPosterName;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @Column(name="thread_views", type="integer", precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $threadViews;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @Column(name="thread_last_post", type="integer", precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $threadLastPost;
|
|
|
|
/**
|
|
* @var \DateTime
|
|
*
|
|
* @Column(name="thread_date", type="datetime", precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $threadDate;
|
|
|
|
/**
|
|
* @var boolean
|
|
*
|
|
* @Column(name="thread_sticky", type="boolean", precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $threadSticky;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @Column(name="locked", type="integer", precision=0, scale=0, nullable=false, unique=false)
|
|
*/
|
|
private $locked;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @Column(name="session_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $sessionId;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @Column(name="thread_title_qualify", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $threadTitleQualify;
|
|
|
|
/**
|
|
* @var float
|
|
*
|
|
* @Column(name="thread_qualify_max", type="float", precision=0, scale=0, nullable=false, unique=false)
|
|
*/
|
|
private $threadQualifyMax;
|
|
|
|
/**
|
|
* @var \DateTime
|
|
*
|
|
* @Column(name="thread_close_date", type="datetime", precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $threadCloseDate;
|
|
|
|
/**
|
|
* @var float
|
|
*
|
|
* @Column(name="thread_weight", type="float", precision=0, scale=0, nullable=false, unique=false)
|
|
*/
|
|
private $threadWeight;
|
|
|
|
|
|
/**
|
|
* Set cId
|
|
*
|
|
* @param integer $cId
|
|
* @return EntityCForumThread
|
|
*/
|
|
public function setCId($cId)
|
|
{
|
|
$this->cId = $cId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get cId
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getCId()
|
|
{
|
|
return $this->cId;
|
|
}
|
|
|
|
/**
|
|
* Set threadId
|
|
*
|
|
* @param integer $threadId
|
|
* @return EntityCForumThread
|
|
*/
|
|
public function setThreadId($threadId)
|
|
{
|
|
$this->threadId = $threadId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get threadId
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getThreadId()
|
|
{
|
|
return $this->threadId;
|
|
}
|
|
|
|
/**
|
|
* Set threadTitle
|
|
*
|
|
* @param string $threadTitle
|
|
* @return EntityCForumThread
|
|
*/
|
|
public function setThreadTitle($threadTitle)
|
|
{
|
|
$this->threadTitle = $threadTitle;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get threadTitle
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getThreadTitle()
|
|
{
|
|
return $this->threadTitle;
|
|
}
|
|
|
|
/**
|
|
* Set forumId
|
|
*
|
|
* @param integer $forumId
|
|
* @return EntityCForumThread
|
|
*/
|
|
public function setForumId($forumId)
|
|
{
|
|
$this->forumId = $forumId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get forumId
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getForumId()
|
|
{
|
|
return $this->forumId;
|
|
}
|
|
|
|
/**
|
|
* Set threadReplies
|
|
*
|
|
* @param integer $threadReplies
|
|
* @return EntityCForumThread
|
|
*/
|
|
public function setThreadReplies($threadReplies)
|
|
{
|
|
$this->threadReplies = $threadReplies;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get threadReplies
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getThreadReplies()
|
|
{
|
|
return $this->threadReplies;
|
|
}
|
|
|
|
/**
|
|
* Set threadPosterId
|
|
*
|
|
* @param integer $threadPosterId
|
|
* @return EntityCForumThread
|
|
*/
|
|
public function setThreadPosterId($threadPosterId)
|
|
{
|
|
$this->threadPosterId = $threadPosterId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get threadPosterId
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getThreadPosterId()
|
|
{
|
|
return $this->threadPosterId;
|
|
}
|
|
|
|
/**
|
|
* Set threadPosterName
|
|
*
|
|
* @param string $threadPosterName
|
|
* @return EntityCForumThread
|
|
*/
|
|
public function setThreadPosterName($threadPosterName)
|
|
{
|
|
$this->threadPosterName = $threadPosterName;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get threadPosterName
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getThreadPosterName()
|
|
{
|
|
return $this->threadPosterName;
|
|
}
|
|
|
|
/**
|
|
* Set threadViews
|
|
*
|
|
* @param integer $threadViews
|
|
* @return EntityCForumThread
|
|
*/
|
|
public function setThreadViews($threadViews)
|
|
{
|
|
$this->threadViews = $threadViews;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get threadViews
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getThreadViews()
|
|
{
|
|
return $this->threadViews;
|
|
}
|
|
|
|
/**
|
|
* Set threadLastPost
|
|
*
|
|
* @param integer $threadLastPost
|
|
* @return EntityCForumThread
|
|
*/
|
|
public function setThreadLastPost($threadLastPost)
|
|
{
|
|
$this->threadLastPost = $threadLastPost;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get threadLastPost
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getThreadLastPost()
|
|
{
|
|
return $this->threadLastPost;
|
|
}
|
|
|
|
/**
|
|
* Set threadDate
|
|
*
|
|
* @param \DateTime $threadDate
|
|
* @return EntityCForumThread
|
|
*/
|
|
public function setThreadDate($threadDate)
|
|
{
|
|
$this->threadDate = $threadDate;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get threadDate
|
|
*
|
|
* @return \DateTime
|
|
*/
|
|
public function getThreadDate()
|
|
{
|
|
return $this->threadDate;
|
|
}
|
|
|
|
/**
|
|
* Set threadSticky
|
|
*
|
|
* @param boolean $threadSticky
|
|
* @return EntityCForumThread
|
|
*/
|
|
public function setThreadSticky($threadSticky)
|
|
{
|
|
$this->threadSticky = $threadSticky;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get threadSticky
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public function getThreadSticky()
|
|
{
|
|
return $this->threadSticky;
|
|
}
|
|
|
|
/**
|
|
* Set locked
|
|
*
|
|
* @param integer $locked
|
|
* @return EntityCForumThread
|
|
*/
|
|
public function setLocked($locked)
|
|
{
|
|
$this->locked = $locked;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get locked
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getLocked()
|
|
{
|
|
return $this->locked;
|
|
}
|
|
|
|
/**
|
|
* Set sessionId
|
|
*
|
|
* @param integer $sessionId
|
|
* @return EntityCForumThread
|
|
*/
|
|
public function setSessionId($sessionId)
|
|
{
|
|
$this->sessionId = $sessionId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get sessionId
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getSessionId()
|
|
{
|
|
return $this->sessionId;
|
|
}
|
|
|
|
/**
|
|
* Set threadTitleQualify
|
|
*
|
|
* @param string $threadTitleQualify
|
|
* @return EntityCForumThread
|
|
*/
|
|
public function setThreadTitleQualify($threadTitleQualify)
|
|
{
|
|
$this->threadTitleQualify = $threadTitleQualify;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get threadTitleQualify
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getThreadTitleQualify()
|
|
{
|
|
return $this->threadTitleQualify;
|
|
}
|
|
|
|
/**
|
|
* Set threadQualifyMax
|
|
*
|
|
* @param float $threadQualifyMax
|
|
* @return EntityCForumThread
|
|
*/
|
|
public function setThreadQualifyMax($threadQualifyMax)
|
|
{
|
|
$this->threadQualifyMax = $threadQualifyMax;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get threadQualifyMax
|
|
*
|
|
* @return float
|
|
*/
|
|
public function getThreadQualifyMax()
|
|
{
|
|
return $this->threadQualifyMax;
|
|
}
|
|
|
|
/**
|
|
* Set threadCloseDate
|
|
*
|
|
* @param \DateTime $threadCloseDate
|
|
* @return EntityCForumThread
|
|
*/
|
|
public function setThreadCloseDate($threadCloseDate)
|
|
{
|
|
$this->threadCloseDate = $threadCloseDate;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get threadCloseDate
|
|
*
|
|
* @return \DateTime
|
|
*/
|
|
public function getThreadCloseDate()
|
|
{
|
|
return $this->threadCloseDate;
|
|
}
|
|
|
|
/**
|
|
* Set threadWeight
|
|
*
|
|
* @param float $threadWeight
|
|
* @return EntityCForumThread
|
|
*/
|
|
public function setThreadWeight($threadWeight)
|
|
{
|
|
$this->threadWeight = $threadWeight;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get threadWeight
|
|
*
|
|
* @return float
|
|
*/
|
|
public function getThreadWeight()
|
|
{
|
|
return $this->threadWeight;
|
|
}
|
|
}
|
|
|