<?php

namespace Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 *
 * @license see /license.txt
 * @author autogenerated
 */
class BlogTask extends \CourseEntity
{
    /**
     * @return \Entity\Repository\BlogTaskRepository
     */
     public static function repository(){
        return \Entity\Repository\BlogTaskRepository::instance();
    }

    /**
     * @return \Entity\BlogTask
     */
     public static function create(){
        return new self();
    }

    /**
     * @var integer $c_id
     */
    protected $c_id;

    /**
     * @var integer $task_id
     */
    protected $task_id;

    /**
     * @var integer $blog_id
     */
    protected $blog_id;

    /**
     * @var string $title
     */
    protected $title;

    /**
     * @var text $description
     */
    protected $description;

    /**
     * @var string $color
     */
    protected $color;

    /**
     * @var boolean $system_task
     */
    protected $system_task;


    /**
     * Set c_id
     *
     * @param integer $value
     * @return BlogTask
     */
    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 task_id
     *
     * @param integer $value
     * @return BlogTask
     */
    public function set_task_id($value)
    {
        $this->task_id = $value;
        return $this;
    }

    /**
     * Get task_id
     *
     * @return integer 
     */
    public function get_task_id()
    {
        return $this->task_id;
    }

    /**
     * Set blog_id
     *
     * @param integer $value
     * @return BlogTask
     */
    public function set_blog_id($value)
    {
        $this->blog_id = $value;
        return $this;
    }

    /**
     * Get blog_id
     *
     * @return integer 
     */
    public function get_blog_id()
    {
        return $this->blog_id;
    }

    /**
     * Set title
     *
     * @param string $value
     * @return BlogTask
     */
    public function set_title($value)
    {
        $this->title = $value;
        return $this;
    }

    /**
     * Get title
     *
     * @return string 
     */
    public function get_title()
    {
        return $this->title;
    }

    /**
     * Set description
     *
     * @param text $value
     * @return BlogTask
     */
    public function set_description($value)
    {
        $this->description = $value;
        return $this;
    }

    /**
     * Get description
     *
     * @return text 
     */
    public function get_description()
    {
        return $this->description;
    }

    /**
     * Set color
     *
     * @param string $value
     * @return BlogTask
     */
    public function set_color($value)
    {
        $this->color = $value;
        return $this;
    }

    /**
     * Get color
     *
     * @return string 
     */
    public function get_color()
    {
        return $this->color;
    }

    /**
     * Set system_task
     *
     * @param boolean $value
     * @return BlogTask
     */
    public function set_system_task($value)
    {
        $this->system_task = $value;
        return $this;
    }

    /**
     * Get system_task
     *
     * @return boolean 
     */
    public function get_system_task()
    {
        return $this->system_task;
    }
}