diff --git a/src/Chamilo/CourseBundle/Entity/CForumForum.php b/src/Chamilo/CourseBundle/Entity/CForumForum.php index 20debbbd09..c78ed93494 100644 --- a/src/Chamilo/CourseBundle/Entity/CForumForum.php +++ b/src/Chamilo/CourseBundle/Entity/CForumForum.php @@ -176,6 +176,13 @@ class CForumForum */ private $endTime; + /** + * @var integer + * + * @ORM\Column(name="lp_id", type="integer", options={"unsigned":true}) + */ + private $lpId; + /** * Set forumTitle * @@ -681,4 +688,26 @@ class CForumForum { return $this->cId; } + + /** + * Set lpId + * @param integer $lpId + * @return \Chamilo\CourseBundle\Entity\CForumForum + */ + public function setLpId($lpId) + { + $this->lpId = $lpId; + + return $this; + } + + /** + * Get lpId + * @return integer + */ + public function getLpId() + { + return $this->lpId; + } + } diff --git a/src/Chamilo/CourseBundle/Entity/CForumThread.php b/src/Chamilo/CourseBundle/Entity/CForumThread.php index 2b570ac945..47a33d9a59 100644 --- a/src/Chamilo/CourseBundle/Entity/CForumThread.php +++ b/src/Chamilo/CourseBundle/Entity/CForumThread.php @@ -148,6 +148,13 @@ class CForumThread */ private $threadPeerQualify; + /** + * @var integer + * + * @ORM\Column(name="lp_item_id", type="integer", options={"unsigned":true}) + */ + private $lpItemId; + /** * Constructor */ @@ -564,4 +571,26 @@ class CForumThread { return $this->cId; } + + /** + * Set lpItemId + * @param integer $lpItemId + * @return \Chamilo\CourseBundle\Entity\CForumThread + */ + public function setLpItemId($lpItemId) + { + $this->lpItemId = $lpItemId; + + return $this; + } + + /** + * Get lpId + * @return integer + */ + public function getLpItemId() + { + return $this->lpItemId; + } + }