123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- *
- * @license see /license.txt
- * @author autogenerated
- */
- class ForumForum extends \CourseEntity
- {
- /**
- * @return \Entity\Repository\ForumForumRepository
- */
- public static function repository(){
- return \Entity\Repository\ForumForumRepository::instance();
- }
- /**
- * @return \Entity\ForumForum
- */
- public static function create(){
- return new self();
- }
- /**
- * @var integer $c_id
- */
- protected $c_id;
- /**
- * @var integer $forum_id
- */
- protected $forum_id;
- /**
- * @var string $forum_title
- */
- protected $forum_title;
- /**
- * @var text $forum_comment
- */
- protected $forum_comment;
- /**
- * @var integer $forum_threads
- */
- protected $forum_threads;
- /**
- * @var integer $forum_posts
- */
- protected $forum_posts;
- /**
- * @var integer $forum_last_post
- */
- protected $forum_last_post;
- /**
- * @var integer $forum_category
- */
- protected $forum_category;
- /**
- * @var integer $allow_anonymous
- */
- protected $allow_anonymous;
- /**
- * @var integer $allow_edit
- */
- protected $allow_edit;
- /**
- * @var string $approval_direct_post
- */
- protected $approval_direct_post;
- /**
- * @var integer $allow_attachments
- */
- protected $allow_attachments;
- /**
- * @var integer $allow_new_threads
- */
- protected $allow_new_threads;
- /**
- * @var string $default_view
- */
- protected $default_view;
- /**
- * @var string $forum_of_group
- */
- protected $forum_of_group;
- /**
- * @var string $forum_group_public_private
- */
- protected $forum_group_public_private;
- /**
- * @var integer $forum_order
- */
- protected $forum_order;
- /**
- * @var integer $locked
- */
- protected $locked;
- /**
- * @var integer $session_id
- */
- protected $session_id;
- /**
- * @var string $forum_image
- */
- protected $forum_image;
- /**
- * @var datetime $start_time
- */
- protected $start_time;
- /**
- * @var datetime $end_time
- */
- protected $end_time;
- /**
- * Set c_id
- *
- * @param integer $value
- * @return ForumForum
- */
- 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 forum_id
- *
- * @param integer $value
- * @return ForumForum
- */
- 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 forum_title
- *
- * @param string $value
- * @return ForumForum
- */
- public function set_forum_title($value)
- {
- $this->forum_title = $value;
- return $this;
- }
- /**
- * Get forum_title
- *
- * @return string
- */
- public function get_forum_title()
- {
- return $this->forum_title;
- }
- /**
- * Set forum_comment
- *
- * @param text $value
- * @return ForumForum
- */
- public function set_forum_comment($value)
- {
- $this->forum_comment = $value;
- return $this;
- }
- /**
- * Get forum_comment
- *
- * @return text
- */
- public function get_forum_comment()
- {
- return $this->forum_comment;
- }
- /**
- * Set forum_threads
- *
- * @param integer $value
- * @return ForumForum
- */
- public function set_forum_threads($value)
- {
- $this->forum_threads = $value;
- return $this;
- }
- /**
- * Get forum_threads
- *
- * @return integer
- */
- public function get_forum_threads()
- {
- return $this->forum_threads;
- }
- /**
- * Set forum_posts
- *
- * @param integer $value
- * @return ForumForum
- */
- public function set_forum_posts($value)
- {
- $this->forum_posts = $value;
- return $this;
- }
- /**
- * Get forum_posts
- *
- * @return integer
- */
- public function get_forum_posts()
- {
- return $this->forum_posts;
- }
- /**
- * Set forum_last_post
- *
- * @param integer $value
- * @return ForumForum
- */
- public function set_forum_last_post($value)
- {
- $this->forum_last_post = $value;
- return $this;
- }
- /**
- * Get forum_last_post
- *
- * @return integer
- */
- public function get_forum_last_post()
- {
- return $this->forum_last_post;
- }
- /**
- * Set forum_category
- *
- * @param integer $value
- * @return ForumForum
- */
- public function set_forum_category($value)
- {
- $this->forum_category = $value;
- return $this;
- }
- /**
- * Get forum_category
- *
- * @return integer
- */
- public function get_forum_category()
- {
- return $this->forum_category;
- }
- /**
- * Set allow_anonymous
- *
- * @param integer $value
- * @return ForumForum
- */
- public function set_allow_anonymous($value)
- {
- $this->allow_anonymous = $value;
- return $this;
- }
- /**
- * Get allow_anonymous
- *
- * @return integer
- */
- public function get_allow_anonymous()
- {
- return $this->allow_anonymous;
- }
- /**
- * Set allow_edit
- *
- * @param integer $value
- * @return ForumForum
- */
- public function set_allow_edit($value)
- {
- $this->allow_edit = $value;
- return $this;
- }
- /**
- * Get allow_edit
- *
- * @return integer
- */
- public function get_allow_edit()
- {
- return $this->allow_edit;
- }
- /**
- * Set approval_direct_post
- *
- * @param string $value
- * @return ForumForum
- */
- public function set_approval_direct_post($value)
- {
- $this->approval_direct_post = $value;
- return $this;
- }
- /**
- * Get approval_direct_post
- *
- * @return string
- */
- public function get_approval_direct_post()
- {
- return $this->approval_direct_post;
- }
- /**
- * Set allow_attachments
- *
- * @param integer $value
- * @return ForumForum
- */
- public function set_allow_attachments($value)
- {
- $this->allow_attachments = $value;
- return $this;
- }
- /**
- * Get allow_attachments
- *
- * @return integer
- */
- public function get_allow_attachments()
- {
- return $this->allow_attachments;
- }
- /**
- * Set allow_new_threads
- *
- * @param integer $value
- * @return ForumForum
- */
- public function set_allow_new_threads($value)
- {
- $this->allow_new_threads = $value;
- return $this;
- }
- /**
- * Get allow_new_threads
- *
- * @return integer
- */
- public function get_allow_new_threads()
- {
- return $this->allow_new_threads;
- }
- /**
- * Set default_view
- *
- * @param string $value
- * @return ForumForum
- */
- public function set_default_view($value)
- {
- $this->default_view = $value;
- return $this;
- }
- /**
- * Get default_view
- *
- * @return string
- */
- public function get_default_view()
- {
- return $this->default_view;
- }
- /**
- * Set forum_of_group
- *
- * @param string $value
- * @return ForumForum
- */
- public function set_forum_of_group($value)
- {
- $this->forum_of_group = $value;
- return $this;
- }
- /**
- * Get forum_of_group
- *
- * @return string
- */
- public function get_forum_of_group()
- {
- return $this->forum_of_group;
- }
- /**
- * Set forum_group_public_private
- *
- * @param string $value
- * @return ForumForum
- */
- public function set_forum_group_public_private($value)
- {
- $this->forum_group_public_private = $value;
- return $this;
- }
- /**
- * Get forum_group_public_private
- *
- * @return string
- */
- public function get_forum_group_public_private()
- {
- return $this->forum_group_public_private;
- }
- /**
- * Set forum_order
- *
- * @param integer $value
- * @return ForumForum
- */
- public function set_forum_order($value)
- {
- $this->forum_order = $value;
- return $this;
- }
- /**
- * Get forum_order
- *
- * @return integer
- */
- public function get_forum_order()
- {
- return $this->forum_order;
- }
- /**
- * Set locked
- *
- * @param integer $value
- * @return ForumForum
- */
- 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 ForumForum
- */
- 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 forum_image
- *
- * @param string $value
- * @return ForumForum
- */
- public function set_forum_image($value)
- {
- $this->forum_image = $value;
- return $this;
- }
- /**
- * Get forum_image
- *
- * @return string
- */
- public function get_forum_image()
- {
- return $this->forum_image;
- }
- /**
- * Set start_time
- *
- * @param datetime $value
- * @return ForumForum
- */
- public function set_start_time($value)
- {
- $this->start_time = $value;
- return $this;
- }
- /**
- * Get start_time
- *
- * @return datetime
- */
- public function get_start_time()
- {
- return $this->start_time;
- }
- /**
- * Set end_time
- *
- * @param datetime $value
- * @return ForumForum
- */
- public function set_end_time($value)
- {
- $this->end_time = $value;
- return $this;
- }
- /**
- * Get end_time
- *
- * @return datetime
- */
- public function get_end_time()
- {
- return $this->end_time;
- }
- }
|