<?php

namespace Entity;

use Doctrine\ORM\Mapping as ORM;

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

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

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

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

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

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

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

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

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

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


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

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

    /**
     * Set url_id
     *
     * @param integer $value
     * @return TrackCourseRanking
     */
    public function set_url_id($value)
    {
        $this->url_id = $value;
        return $this;
    }

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

    /**
     * Set accesses
     *
     * @param integer $value
     * @return TrackCourseRanking
     */
    public function set_accesses($value)
    {
        $this->accesses = $value;
        return $this;
    }

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

    /**
     * Set total_score
     *
     * @param integer $value
     * @return TrackCourseRanking
     */
    public function set_total_score($value)
    {
        $this->total_score = $value;
        return $this;
    }

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

    /**
     * Set users
     *
     * @param integer $value
     * @return TrackCourseRanking
     */
    public function set_users($value)
    {
        $this->users = $value;
        return $this;
    }

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

    /**
     * Set creation_date
     *
     * @param datetime $value
     * @return TrackCourseRanking
     */
    public function set_creation_date($value)
    {
        $this->creation_date = $value;
        return $this;
    }

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