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.
352 lines
5.6 KiB
352 lines
5.6 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class ForumPost extends \CourseEntity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\ForumPostRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\ForumPostRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\ForumPost
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var integer $c_id
|
|
*/
|
|
protected $c_id;
|
|
|
|
/**
|
|
* @var integer $post_id
|
|
*/
|
|
protected $post_id;
|
|
|
|
/**
|
|
* @var string $post_title
|
|
*/
|
|
protected $post_title;
|
|
|
|
/**
|
|
* @var text $post_text
|
|
*/
|
|
protected $post_text;
|
|
|
|
/**
|
|
* @var integer $thread_id
|
|
*/
|
|
protected $thread_id;
|
|
|
|
/**
|
|
* @var integer $forum_id
|
|
*/
|
|
protected $forum_id;
|
|
|
|
/**
|
|
* @var integer $poster_id
|
|
*/
|
|
protected $poster_id;
|
|
|
|
/**
|
|
* @var string $poster_name
|
|
*/
|
|
protected $poster_name;
|
|
|
|
/**
|
|
* @var datetime $post_date
|
|
*/
|
|
protected $post_date;
|
|
|
|
/**
|
|
* @var boolean $post_notification
|
|
*/
|
|
protected $post_notification;
|
|
|
|
/**
|
|
* @var integer $post_parent_id
|
|
*/
|
|
protected $post_parent_id;
|
|
|
|
/**
|
|
* @var boolean $visible
|
|
*/
|
|
protected $visible;
|
|
|
|
|
|
/**
|
|
* Set c_id
|
|
*
|
|
* @param integer $value
|
|
* @return ForumPost
|
|
*/
|
|
public function set_c_id($value)
|
|
{
|
|
$this->c_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get c_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_c_id()
|
|
{
|
|
return $this->c_id;
|
|
}
|
|
|
|
/**
|
|
* Set post_id
|
|
*
|
|
* @param integer $value
|
|
* @return ForumPost
|
|
*/
|
|
public function set_post_id($value)
|
|
{
|
|
$this->post_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get post_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_post_id()
|
|
{
|
|
return $this->post_id;
|
|
}
|
|
|
|
/**
|
|
* Set post_title
|
|
*
|
|
* @param string $value
|
|
* @return ForumPost
|
|
*/
|
|
public function set_post_title($value)
|
|
{
|
|
$this->post_title = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get post_title
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_post_title()
|
|
{
|
|
return $this->post_title;
|
|
}
|
|
|
|
/**
|
|
* Set post_text
|
|
*
|
|
* @param text $value
|
|
* @return ForumPost
|
|
*/
|
|
public function set_post_text($value)
|
|
{
|
|
$this->post_text = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get post_text
|
|
*
|
|
* @return text
|
|
*/
|
|
public function get_post_text()
|
|
{
|
|
return $this->post_text;
|
|
}
|
|
|
|
/**
|
|
* Set thread_id
|
|
*
|
|
* @param integer $value
|
|
* @return ForumPost
|
|
*/
|
|
public function set_thread_id($value)
|
|
{
|
|
$this->thread_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get thread_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_thread_id()
|
|
{
|
|
return $this->thread_id;
|
|
}
|
|
|
|
/**
|
|
* Set forum_id
|
|
*
|
|
* @param integer $value
|
|
* @return ForumPost
|
|
*/
|
|
public function set_forum_id($value)
|
|
{
|
|
$this->forum_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get forum_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_forum_id()
|
|
{
|
|
return $this->forum_id;
|
|
}
|
|
|
|
/**
|
|
* Set poster_id
|
|
*
|
|
* @param integer $value
|
|
* @return ForumPost
|
|
*/
|
|
public function set_poster_id($value)
|
|
{
|
|
$this->poster_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get poster_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_poster_id()
|
|
{
|
|
return $this->poster_id;
|
|
}
|
|
|
|
/**
|
|
* Set poster_name
|
|
*
|
|
* @param string $value
|
|
* @return ForumPost
|
|
*/
|
|
public function set_poster_name($value)
|
|
{
|
|
$this->poster_name = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get poster_name
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_poster_name()
|
|
{
|
|
return $this->poster_name;
|
|
}
|
|
|
|
/**
|
|
* Set post_date
|
|
*
|
|
* @param datetime $value
|
|
* @return ForumPost
|
|
*/
|
|
public function set_post_date($value)
|
|
{
|
|
$this->post_date = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get post_date
|
|
*
|
|
* @return datetime
|
|
*/
|
|
public function get_post_date()
|
|
{
|
|
return $this->post_date;
|
|
}
|
|
|
|
/**
|
|
* Set post_notification
|
|
*
|
|
* @param boolean $value
|
|
* @return ForumPost
|
|
*/
|
|
public function set_post_notification($value)
|
|
{
|
|
$this->post_notification = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get post_notification
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public function get_post_notification()
|
|
{
|
|
return $this->post_notification;
|
|
}
|
|
|
|
/**
|
|
* Set post_parent_id
|
|
*
|
|
* @param integer $value
|
|
* @return ForumPost
|
|
*/
|
|
public function set_post_parent_id($value)
|
|
{
|
|
$this->post_parent_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get post_parent_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_post_parent_id()
|
|
{
|
|
return $this->post_parent_id;
|
|
}
|
|
|
|
/**
|
|
* Set visible
|
|
*
|
|
* @param boolean $value
|
|
* @return ForumPost
|
|
*/
|
|
public function set_visible($value)
|
|
{
|
|
$this->visible = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get visible
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public function get_visible()
|
|
{
|
|
return $this->visible;
|
|
}
|
|
} |