<?php

namespace Entity;

use Doctrine\ORM\Mapping as ORM;

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

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

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

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

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

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

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


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

    /**
     * Set user_id
     *
     * @param integer $value
     * @return GradebookResult
     */
    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 evaluation_id
     *
     * @param integer $value
     * @return GradebookResult
     */
    public function set_evaluation_id($value)
    {
        $this->evaluation_id = $value;
        return $this;
    }

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

    /**
     * Set created_at
     *
     * @param datetime $value
     * @return GradebookResult
     */
    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 score
     *
     * @param float $value
     * @return GradebookResult
     */
    public function set_score($value)
    {
        $this->score = $value;
        return $this;
    }

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