123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379 |
- <?php
- use Doctrine\ORM\Mapping as ORM;
- /**
- * EntityCForumPost
- *
- * @Table(name="c_forum_post")
- * @Entity
- */
- class EntityCForumPost
- {
- /**
- * @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="post_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @Id
- * @GeneratedValue(strategy="NONE")
- */
- private $postId;
- /**
- * @var string
- *
- * @Column(name="post_title", type="string", length=250, precision=0, scale=0, nullable=true, unique=false)
- */
- private $postTitle;
- /**
- * @var string
- *
- * @Column(name="post_text", type="text", precision=0, scale=0, nullable=true, unique=false)
- */
- private $postText;
- /**
- * @var integer
- *
- * @Column(name="thread_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
- */
- private $threadId;
- /**
- * @var integer
- *
- * @Column(name="forum_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
- */
- private $forumId;
- /**
- * @var integer
- *
- * @Column(name="poster_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
- */
- private $posterId;
- /**
- * @var string
- *
- * @Column(name="poster_name", type="string", length=100, precision=0, scale=0, nullable=true, unique=false)
- */
- private $posterName;
- /**
- * @var \DateTime
- *
- * @Column(name="post_date", type="datetime", precision=0, scale=0, nullable=true, unique=false)
- */
- private $postDate;
- /**
- * @var boolean
- *
- * @Column(name="post_notification", type="boolean", precision=0, scale=0, nullable=true, unique=false)
- */
- private $postNotification;
- /**
- * @var integer
- *
- * @Column(name="post_parent_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
- */
- private $postParentId;
- /**
- * @var boolean
- *
- * @Column(name="visible", type="boolean", precision=0, scale=0, nullable=true, unique=false)
- */
- private $visible;
- /**
- * Set cId
- *
- * @param integer $cId
- * @return EntityCForumPost
- */
- public function setCId($cId)
- {
- $this->cId = $cId;
- return $this;
- }
- /**
- * Get cId
- *
- * @return integer
- */
- public function getCId()
- {
- return $this->cId;
- }
- /**
- * Set postId
- *
- * @param integer $postId
- * @return EntityCForumPost
- */
- public function setPostId($postId)
- {
- $this->postId = $postId;
- return $this;
- }
- /**
- * Get postId
- *
- * @return integer
- */
- public function getPostId()
- {
- return $this->postId;
- }
- /**
- * Set postTitle
- *
- * @param string $postTitle
- * @return EntityCForumPost
- */
- public function setPostTitle($postTitle)
- {
- $this->postTitle = $postTitle;
- return $this;
- }
- /**
- * Get postTitle
- *
- * @return string
- */
- public function getPostTitle()
- {
- return $this->postTitle;
- }
- /**
- * Set postText
- *
- * @param string $postText
- * @return EntityCForumPost
- */
- public function setPostText($postText)
- {
- $this->postText = $postText;
- return $this;
- }
- /**
- * Get postText
- *
- * @return string
- */
- public function getPostText()
- {
- return $this->postText;
- }
- /**
- * Set threadId
- *
- * @param integer $threadId
- * @return EntityCForumPost
- */
- public function setThreadId($threadId)
- {
- $this->threadId = $threadId;
- return $this;
- }
- /**
- * Get threadId
- *
- * @return integer
- */
- public function getThreadId()
- {
- return $this->threadId;
- }
- /**
- * Set forumId
- *
- * @param integer $forumId
- * @return EntityCForumPost
- */
- public function setForumId($forumId)
- {
- $this->forumId = $forumId;
- return $this;
- }
- /**
- * Get forumId
- *
- * @return integer
- */
- public function getForumId()
- {
- return $this->forumId;
- }
- /**
- * Set posterId
- *
- * @param integer $posterId
- * @return EntityCForumPost
- */
- public function setPosterId($posterId)
- {
- $this->posterId = $posterId;
- return $this;
- }
- /**
- * Get posterId
- *
- * @return integer
- */
- public function getPosterId()
- {
- return $this->posterId;
- }
- /**
- * Set posterName
- *
- * @param string $posterName
- * @return EntityCForumPost
- */
- public function setPosterName($posterName)
- {
- $this->posterName = $posterName;
- return $this;
- }
- /**
- * Get posterName
- *
- * @return string
- */
- public function getPosterName()
- {
- return $this->posterName;
- }
- /**
- * Set postDate
- *
- * @param \DateTime $postDate
- * @return EntityCForumPost
- */
- public function setPostDate($postDate)
- {
- $this->postDate = $postDate;
- return $this;
- }
- /**
- * Get postDate
- *
- * @return \DateTime
- */
- public function getPostDate()
- {
- return $this->postDate;
- }
- /**
- * Set postNotification
- *
- * @param boolean $postNotification
- * @return EntityCForumPost
- */
- public function setPostNotification($postNotification)
- {
- $this->postNotification = $postNotification;
- return $this;
- }
- /**
- * Get postNotification
- *
- * @return boolean
- */
- public function getPostNotification()
- {
- return $this->postNotification;
- }
- /**
- * Set postParentId
- *
- * @param integer $postParentId
- * @return EntityCForumPost
- */
- public function setPostParentId($postParentId)
- {
- $this->postParentId = $postParentId;
- return $this;
- }
- /**
- * Get postParentId
- *
- * @return integer
- */
- public function getPostParentId()
- {
- return $this->postParentId;
- }
- /**
- * Set visible
- *
- * @param boolean $visible
- * @return EntityCForumPost
- */
- public function setVisible($visible)
- {
- $this->visible = $visible;
- return $this;
- }
- /**
- * Get visible
- *
- * @return boolean
- */
- public function getVisible()
- {
- return $this->visible;
- }
- }
|