<?php

namespace Entity;

use Doctrine\ORM\Mapping as ORM;

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

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

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

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

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

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

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

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

    /**
     * @var datetime $created_at
     */
    protected $created_at;

    /**
     * @var float $weight
     */
    protected $weight;

    /**
     * @var float $max
     */
    protected $max;

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

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

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


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

    /**
     * Set name
     *
     * @param text $value
     * @return GradebookEvaluation
     */
    public function set_name($value)
    {
        $this->name = $value;
        return $this;
    }

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

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

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

    /**
     * Set user_id
     *
     * @param integer $value
     * @return GradebookEvaluation
     */
    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 course_code
     *
     * @param string $value
     * @return GradebookEvaluation
     */
    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 category_id
     *
     * @param integer $value
     * @return GradebookEvaluation
     */
    public function set_category_id($value)
    {
        $this->category_id = $value;
        return $this;
    }

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

    /**
     * Set created_at
     *
     * @param datetime $value
     * @return GradebookEvaluation
     */
    public function set_created_at($value)
    {
        $this->created_at = $value;
        return $this;
    }

    /**
     * Get created_at
     *
     * @return datetime 
     */
    public function get_created_at()
    {
        return $this->created_at;
    }

    /**
     * Set weight
     *
     * @param float $value
     * @return GradebookEvaluation
     */
    public function set_weight($value)
    {
        $this->weight = $value;
        return $this;
    }

    /**
     * Get weight
     *
     * @return float 
     */
    public function get_weight()
    {
        return $this->weight;
    }

    /**
     * Set max
     *
     * @param float $value
     * @return GradebookEvaluation
     */
    public function set_max($value)
    {
        $this->max = $value;
        return $this;
    }

    /**
     * Get max
     *
     * @return float 
     */
    public function get_max()
    {
        return $this->max;
    }

    /**
     * Set visible
     *
     * @param integer $value
     * @return GradebookEvaluation
     */
    public function set_visible($value)
    {
        $this->visible = $value;
        return $this;
    }

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

    /**
     * Set type
     *
     * @param string $value
     * @return GradebookEvaluation
     */
    public function set_type($value)
    {
        $this->type = $value;
        return $this;
    }

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

    /**
     * Set locked
     *
     * @param integer $value
     * @return GradebookEvaluation
     */
    public function set_locked($value)
    {
        $this->locked = $value;
        return $this;
    }

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