<?php

namespace Entity;

use Doctrine\ORM\Mapping as ORM;

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

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

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

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

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

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

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

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

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


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

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

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

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

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

    /**
     * Set course_code
     *
     * @param string $value
     * @return Templates
     */
    public function set_course_code($value)
    {
        $this->course_code = $value;
        return $this;
    }

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

    /**
     * Set user_id
     *
     * @param integer $value
     * @return Templates
     */
    public function set_user_id($value)
    {
        $this->user_id = $value;
        return $this;
    }

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

    /**
     * Set ref_doc
     *
     * @param integer $value
     * @return Templates
     */
    public function set_ref_doc($value)
    {
        $this->ref_doc = $value;
        return $this;
    }

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

    /**
     * Set image
     *
     * @param string $value
     * @return Templates
     */
    public function set_image($value)
    {
        $this->image = $value;
        return $this;
    }

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