<?php

namespace Entity;

use Doctrine\ORM\Mapping as ORM;

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

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

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

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

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


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

    /**
     * Set usergroup_id
     *
     * @param integer $value
     * @return UsergroupRelCourse
     */
    public function set_usergroup_id($value)
    {
        $this->usergroup_id = $value;
        return $this;
    }

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

    /**
     * Set course_id
     *
     * @param integer $value
     * @return UsergroupRelCourse
     */
    public function set_course_id($value)
    {
        $this->course_id = $value;
        return $this;
    }

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