123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352 |
- <?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;
- }
- }
|