123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- <?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;
- }
- }
|