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