<?php

namespace Entity;

use Doctrine\ORM\Mapping as ORM;

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

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

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

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

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

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

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

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

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

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

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


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

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

    /**
     * Set path
     *
     * @param string $value
     * @return Document
     */
    public function set_path($value)
    {
        $this->path = $value;
        return $this;
    }

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

    /**
     * Set comment
     *
     * @param text $value
     * @return Document
     */
    public function set_comment($value)
    {
        $this->comment = $value;
        return $this;
    }

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

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

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

    /**
     * Set filetype
     *
     * @param string $value
     * @return Document
     */
    public function set_filetype($value)
    {
        $this->filetype = $value;
        return $this;
    }

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

    /**
     * Set size
     *
     * @param integer $value
     * @return Document
     */
    public function set_size($value)
    {
        $this->size = $value;
        return $this;
    }

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

    /**
     * Set readonly
     *
     * @param boolean $value
     * @return Document
     */
    public function set_readonly($value)
    {
        $this->readonly = $value;
        return $this;
    }

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

    /**
     * Set session_id
     *
     * @param integer $value
     * @return Document
     */
    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;
    }
}