<?php

namespace Entity;

use Doctrine\ORM\Mapping as ORM;

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

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

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

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

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

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

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

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

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


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

    /**
     * Set course_code
     *
     * @param string $value
     * @return TrackECourseAccess
     */
    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 TrackECourseAccess
     */
    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 login_course_date
     *
     * @param datetime $value
     * @return TrackECourseAccess
     */
    public function set_login_course_date($value)
    {
        $this->login_course_date = $value;
        return $this;
    }

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

    /**
     * Set logout_course_date
     *
     * @param datetime $value
     * @return TrackECourseAccess
     */
    public function set_logout_course_date($value)
    {
        $this->logout_course_date = $value;
        return $this;
    }

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

    /**
     * Set counter
     *
     * @param integer $value
     * @return TrackECourseAccess
     */
    public function set_counter($value)
    {
        $this->counter = $value;
        return $this;
    }

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

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