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/src/CourseBundle/Entity/CForumNotification.php

219 lines
3.4 KiB

<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CourseBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* CForumNotification.
*
* @ORM\Table(
* name="c_forum_notification",
* indexes={
* @ORM\Index(name="course", columns={"c_id"}),
* @ORM\Index(name="thread", columns={"thread_id"}),
* @ORM\Index(name="post", columns={"post_id"}),
* @ORM\Index(name="user_id", columns={"user_id"}),
* @ORM\Index(name="forum_id", columns={"forum_id"})
* }
* )
* @ORM\Entity
*/
class CForumNotification
{
/**
* @var int
*
* @ORM\Column(name="iid", type="integer")
* @ORM\Id
* @ORM\GeneratedValue
*/
protected $iid;
/**
* @var int
*
* @ORM\Column(name="c_id", type="integer")
*/
protected $cId;
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=true)
*/
protected $id;
/**
* @var int
*
* @ORM\Column(name="user_id", type="integer")
*/
protected $userId;
/**
* @var int
*
* @ORM\Column(name="forum_id", type="integer")
*/
protected $forumId;
/**
* @var int
*
* @ORM\Column(name="thread_id", type="integer")
*/
protected $threadId;
/**
* @var int
*
* @ORM\Column(name="post_id", type="integer")
*/
protected $postId;
/**
* Set id.
*
* @param int $id
*
* @return CForumNotification
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set cId.
*
* @param int $cId
*
* @return CForumNotification
*/
public function setCId($cId)
{
$this->cId = $cId;
return $this;
}
/**
* Get cId.
*
* @return int
*/
public function getCId()
{
return $this->cId;
}
/**
* Set userId.
*
* @param int $userId
*
* @return CForumNotification
*/
public function setUserId($userId)
{
$this->userId = $userId;
return $this;
}
/**
* Get userId.
*
* @return int
*/
public function getUserId()
{
return $this->userId;
}
/**
* Set forumId.
*
* @param int $forumId
*
* @return CForumNotification
*/
public function setForumId($forumId)
{
$this->forumId = $forumId;
return $this;
}
/**
* Get forumId.
*
* @return int
*/
public function getForumId()
{
return $this->forumId;
}
/**
* Set threadId.
*
* @param int $threadId
*
* @return CForumNotification
*/
public function setThreadId($threadId)
{
$this->threadId = $threadId;
return $this;
}
/**
* Get threadId.
*
* @return int
*/
public function getThreadId()
{
return $this->threadId;
}
/**
* Set postId.
*
* @param int $postId
*
* @return CForumNotification
*/
public function setPostId($postId)
{
$this->postId = $postId;
return $this;
}
/**
* Get postId.
*
* @return int
*/
public function getPostId()
{
return $this->postId;
}
}