123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- *
- * @license see /license.txt
- * @author autogenerated
- */
- class ForumThread extends \CourseEntity
- {
- /**
- * @return \Entity\Repository\ForumThreadRepository
- */
- public static function repository(){
- return \Entity\Repository\ForumThreadRepository::instance();
- }
- /**
- * @return \Entity\ForumThread
- */
- public static function create(){
- return new self();
- }
- /**
- * @var integer $c_id
- */
- protected $c_id;
- /**
- * @var integer $thread_id
- */
- protected $thread_id;
- /**
- * @var string $thread_title
- */
- protected $thread_title;
- /**
- * @var integer $forum_id
- */
- protected $forum_id;
- /**
- * @var integer $thread_replies
- */
- protected $thread_replies;
- /**
- * @var integer $thread_poster_id
- */
- protected $thread_poster_id;
- /**
- * @var string $thread_poster_name
- */
- protected $thread_poster_name;
- /**
- * @var integer $thread_views
- */
- protected $thread_views;
- /**
- * @var integer $thread_last_post
- */
- protected $thread_last_post;
- /**
- * @var datetime $thread_date
- */
- protected $thread_date;
- /**
- * @var boolean $thread_sticky
- */
- protected $thread_sticky;
- /**
- * @var integer $locked
- */
- protected $locked;
- /**
- * @var integer $session_id
- */
- protected $session_id;
- /**
- * @var string $thread_title_qualify
- */
- protected $thread_title_qualify;
- /**
- * @var float $thread_qualify_max
- */
- protected $thread_qualify_max;
- /**
- * @var datetime $thread_close_date
- */
- protected $thread_close_date;
- /**
- * @var float $thread_weight
- */
- protected $thread_weight;
- /**
- * Set c_id
- *
- * @param integer $value
- * @return ForumThread
- */
- 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 thread_id
- *
- * @param integer $value
- * @return ForumThread
- */
- 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 thread_title
- *
- * @param string $value
- * @return ForumThread
- */
- public function set_thread_title($value)
- {
- $this->thread_title = $value;
- return $this;
- }
- /**
- * Get thread_title
- *
- * @return string
- */
- public function get_thread_title()
- {
- return $this->thread_title;
- }
- /**
- * Set forum_id
- *
- * @param integer $value
- * @return ForumThread
- */
- 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 thread_replies
- *
- * @param integer $value
- * @return ForumThread
- */
- public function set_thread_replies($value)
- {
- $this->thread_replies = $value;
- return $this;
- }
- /**
- * Get thread_replies
- *
- * @return integer
- */
- public function get_thread_replies()
- {
- return $this->thread_replies;
- }
- /**
- * Set thread_poster_id
- *
- * @param integer $value
- * @return ForumThread
- */
- public function set_thread_poster_id($value)
- {
- $this->thread_poster_id = $value;
- return $this;
- }
- /**
- * Get thread_poster_id
- *
- * @return integer
- */
- public function get_thread_poster_id()
- {
- return $this->thread_poster_id;
- }
- /**
- * Set thread_poster_name
- *
- * @param string $value
- * @return ForumThread
- */
- public function set_thread_poster_name($value)
- {
- $this->thread_poster_name = $value;
- return $this;
- }
- /**
- * Get thread_poster_name
- *
- * @return string
- */
- public function get_thread_poster_name()
- {
- return $this->thread_poster_name;
- }
- /**
- * Set thread_views
- *
- * @param integer $value
- * @return ForumThread
- */
- public function set_thread_views($value)
- {
- $this->thread_views = $value;
- return $this;
- }
- /**
- * Get thread_views
- *
- * @return integer
- */
- public function get_thread_views()
- {
- return $this->thread_views;
- }
- /**
- * Set thread_last_post
- *
- * @param integer $value
- * @return ForumThread
- */
- public function set_thread_last_post($value)
- {
- $this->thread_last_post = $value;
- return $this;
- }
- /**
- * Get thread_last_post
- *
- * @return integer
- */
- public function get_thread_last_post()
- {
- return $this->thread_last_post;
- }
- /**
- * Set thread_date
- *
- * @param datetime $value
- * @return ForumThread
- */
- public function set_thread_date($value)
- {
- $this->thread_date = $value;
- return $this;
- }
- /**
- * Get thread_date
- *
- * @return datetime
- */
- public function get_thread_date()
- {
- return $this->thread_date;
- }
- /**
- * Set thread_sticky
- *
- * @param boolean $value
- * @return ForumThread
- */
- public function set_thread_sticky($value)
- {
- $this->thread_sticky = $value;
- return $this;
- }
- /**
- * Get thread_sticky
- *
- * @return boolean
- */
- public function get_thread_sticky()
- {
- return $this->thread_sticky;
- }
- /**
- * Set locked
- *
- * @param integer $value
- * @return ForumThread
- */
- public function set_locked($value)
- {
- $this->locked = $value;
- return $this;
- }
- /**
- * Get locked
- *
- * @return integer
- */
- public function get_locked()
- {
- return $this->locked;
- }
- /**
- * Set session_id
- *
- * @param integer $value
- * @return ForumThread
- */
- public function set_session_id($value)
- {
- $this->session_id = $value;
- return $this;
- }
- /**
- * Get session_id
- *
- * @return integer
- */
- public function get_session_id()
- {
- return $this->session_id;
- }
- /**
- * Set thread_title_qualify
- *
- * @param string $value
- * @return ForumThread
- */
- public function set_thread_title_qualify($value)
- {
- $this->thread_title_qualify = $value;
- return $this;
- }
- /**
- * Get thread_title_qualify
- *
- * @return string
- */
- public function get_thread_title_qualify()
- {
- return $this->thread_title_qualify;
- }
- /**
- * Set thread_qualify_max
- *
- * @param float $value
- * @return ForumThread
- */
- public function set_thread_qualify_max($value)
- {
- $this->thread_qualify_max = $value;
- return $this;
- }
- /**
- * Get thread_qualify_max
- *
- * @return float
- */
- public function get_thread_qualify_max()
- {
- return $this->thread_qualify_max;
- }
- /**
- * Set thread_close_date
- *
- * @param datetime $value
- * @return ForumThread
- */
- public function set_thread_close_date($value)
- {
- $this->thread_close_date = $value;
- return $this;
- }
- /**
- * Get thread_close_date
- *
- * @return datetime
- */
- public function get_thread_close_date()
- {
- return $this->thread_close_date;
- }
- /**
- * Set thread_weight
- *
- * @param float $value
- * @return ForumThread
- */
- public function set_thread_weight($value)
- {
- $this->thread_weight = $value;
- return $this;
- }
- /**
- * Get thread_weight
- *
- * @return float
- */
- public function get_thread_weight()
- {
- return $this->thread_weight;
- }
- }
|