You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
178 lines
2.7 KiB
178 lines
2.7 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class UserRelCourseVote extends \Entity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\UserRelCourseVoteRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\UserRelCourseVoteRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\UserRelCourseVote
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var integer $id
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @var integer $c_id
|
|
*/
|
|
protected $c_id;
|
|
|
|
/**
|
|
* @var integer $user_id
|
|
*/
|
|
protected $user_id;
|
|
|
|
/**
|
|
* @var integer $session_id
|
|
*/
|
|
protected $session_id;
|
|
|
|
/**
|
|
* @var integer $url_id
|
|
*/
|
|
protected $url_id;
|
|
|
|
/**
|
|
* @var integer $vote
|
|
*/
|
|
protected $vote;
|
|
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_id()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Set c_id
|
|
*
|
|
* @param integer $value
|
|
* @return UserRelCourseVote
|
|
*/
|
|
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 user_id
|
|
*
|
|
* @param integer $value
|
|
* @return UserRelCourseVote
|
|
*/
|
|
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 session_id
|
|
*
|
|
* @param integer $value
|
|
* @return UserRelCourseVote
|
|
*/
|
|
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 UserRelCourseVote
|
|
*/
|
|
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 vote
|
|
*
|
|
* @param integer $value
|
|
* @return UserRelCourseVote
|
|
*/
|
|
public function set_vote($value)
|
|
{
|
|
$this->vote = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get vote
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_vote()
|
|
{
|
|
return $this->vote;
|
|
}
|
|
} |