123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- *
- * @license see /license.txt
- * @author autogenerated
- */
- class CourseRelUser extends \Entity
- {
- /**
- * @return \Entity\Repository\CourseRelUserRepository
- */
- public static function repository(){
- return \Entity\Repository\CourseRelUserRepository::instance();
- }
- /**
- * @return \Entity\CourseRelUser
- */
- public static function create(){
- return new self();
- }
- /**
- * @var string $course_code
- */
- protected $course_code;
- /**
- * @var integer $user_id
- */
- protected $user_id;
- /**
- * @var integer $relation_type
- */
- protected $relation_type;
- /**
- * @var boolean $status
- */
- protected $status;
- /**
- * @var string $role
- */
- protected $role;
- /**
- * @var integer $group_id
- */
- protected $group_id;
- /**
- * @var integer $tutor_id
- */
- protected $tutor_id;
- /**
- * @var integer $sort
- */
- protected $sort;
- /**
- * @var integer $user_course_cat
- */
- protected $user_course_cat;
- /**
- * @var integer $legal_agreement
- */
- protected $legal_agreement;
- /**
- * Set course_code
- *
- * @param string $value
- * @return CourseRelUser
- */
- 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 CourseRelUser
- */
- 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 relation_type
- *
- * @param integer $value
- * @return CourseRelUser
- */
- public function set_relation_type($value)
- {
- $this->relation_type = $value;
- return $this;
- }
- /**
- * Get relation_type
- *
- * @return integer
- */
- public function get_relation_type()
- {
- return $this->relation_type;
- }
- /**
- * Set status
- *
- * @param boolean $value
- * @return CourseRelUser
- */
- public function set_status($value)
- {
- $this->status = $value;
- return $this;
- }
- /**
- * Get status
- *
- * @return boolean
- */
- public function get_status()
- {
- return $this->status;
- }
- /**
- * Set role
- *
- * @param string $value
- * @return CourseRelUser
- */
- public function set_role($value)
- {
- $this->role = $value;
- return $this;
- }
- /**
- * Get role
- *
- * @return string
- */
- public function get_role()
- {
- return $this->role;
- }
- /**
- * Set group_id
- *
- * @param integer $value
- * @return CourseRelUser
- */
- public function set_group_id($value)
- {
- $this->group_id = $value;
- return $this;
- }
- /**
- * Get group_id
- *
- * @return integer
- */
- public function get_group_id()
- {
- return $this->group_id;
- }
- /**
- * Set tutor_id
- *
- * @param integer $value
- * @return CourseRelUser
- */
- public function set_tutor_id($value)
- {
- $this->tutor_id = $value;
- return $this;
- }
- /**
- * Get tutor_id
- *
- * @return integer
- */
- public function get_tutor_id()
- {
- return $this->tutor_id;
- }
- /**
- * Set sort
- *
- * @param integer $value
- * @return CourseRelUser
- */
- public function set_sort($value)
- {
- $this->sort = $value;
- return $this;
- }
- /**
- * Get sort
- *
- * @return integer
- */
- public function get_sort()
- {
- return $this->sort;
- }
- /**
- * Set user_course_cat
- *
- * @param integer $value
- * @return CourseRelUser
- */
- public function set_user_course_cat($value)
- {
- $this->user_course_cat = $value;
- return $this;
- }
- /**
- * Get user_course_cat
- *
- * @return integer
- */
- public function get_user_course_cat()
- {
- return $this->user_course_cat;
- }
- /**
- * Set legal_agreement
- *
- * @param integer $value
- * @return CourseRelUser
- */
- 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;
- }
- }
|