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.
190 lines
3.2 KiB
190 lines
3.2 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class SessionRelCourseRelUser extends \Entity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\SessionRelCourseRelUserRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\SessionRelCourseRelUserRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\SessionRelCourseRelUser
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var smallint $id_session
|
|
*/
|
|
protected $id_session;
|
|
|
|
/**
|
|
* @var string $course_code
|
|
*/
|
|
protected $course_code;
|
|
|
|
/**
|
|
* @var integer $id_user
|
|
*/
|
|
protected $id_user;
|
|
|
|
/**
|
|
* @var integer $visibility
|
|
*/
|
|
protected $visibility;
|
|
|
|
/**
|
|
* @var integer $status
|
|
*/
|
|
protected $status;
|
|
|
|
/**
|
|
* @var integer $legal_agreement
|
|
*/
|
|
protected $legal_agreement;
|
|
|
|
|
|
/**
|
|
* Set id_session
|
|
*
|
|
* @param smallint $value
|
|
* @return SessionRelCourseRelUser
|
|
*/
|
|
public function set_id_session($value)
|
|
{
|
|
$this->id_session = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get id_session
|
|
*
|
|
* @return smallint
|
|
*/
|
|
public function get_id_session()
|
|
{
|
|
return $this->id_session;
|
|
}
|
|
|
|
/**
|
|
* Set course_code
|
|
*
|
|
* @param string $value
|
|
* @return SessionRelCourseRelUser
|
|
*/
|
|
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 id_user
|
|
*
|
|
* @param integer $value
|
|
* @return SessionRelCourseRelUser
|
|
*/
|
|
public function set_id_user($value)
|
|
{
|
|
$this->id_user = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get id_user
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_id_user()
|
|
{
|
|
return $this->id_user;
|
|
}
|
|
|
|
/**
|
|
* Set visibility
|
|
*
|
|
* @param integer $value
|
|
* @return SessionRelCourseRelUser
|
|
*/
|
|
public function set_visibility($value)
|
|
{
|
|
$this->visibility = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get visibility
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_visibility()
|
|
{
|
|
return $this->visibility;
|
|
}
|
|
|
|
/**
|
|
* Set status
|
|
*
|
|
* @param integer $value
|
|
* @return SessionRelCourseRelUser
|
|
*/
|
|
public function set_status($value)
|
|
{
|
|
$this->status = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get status
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_status()
|
|
{
|
|
return $this->status;
|
|
}
|
|
|
|
/**
|
|
* Set legal_agreement
|
|
*
|
|
* @param integer $value
|
|
* @return SessionRelCourseRelUser
|
|
*/
|
|
public function set_legal_agreement($value)
|
|
{
|
|
$this->legal_agreement = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get legal_agreement
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_legal_agreement()
|
|
{
|
|
return $this->legal_agreement;
|
|
}
|
|
} |