123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- *
- * @license see /license.txt
- * @author autogenerated
- */
- class Course extends \Entity
- {
- /**
- * @return \Entity\Repository\CourseRepository
- */
- public static function repository(){
- return \Entity\Repository\CourseRepository::instance();
- }
- /**
- * @return \Entity\Course
- */
- public static function create(){
- return new self();
- }
- /**
- * @var integer $id
- */
- protected $id;
- /**
- * @var string $code
- */
- protected $code;
- /**
- * @var string $directory
- */
- protected $directory;
- /**
- * @var string $db_name
- */
- protected $db_name;
- /**
- * @var string $course_language
- */
- protected $course_language;
- /**
- * @var string $title
- */
- protected $title;
- /**
- * @var text $description
- */
- protected $description;
- /**
- * @var string $category_code
- */
- protected $category_code;
- /**
- * @var boolean $visibility
- */
- protected $visibility;
- /**
- * @var integer $show_score
- */
- protected $show_score;
- /**
- * @var string $tutor_name
- */
- protected $tutor_name;
- /**
- * @var string $visual_code
- */
- protected $visual_code;
- /**
- * @var string $department_name
- */
- protected $department_name;
- /**
- * @var string $department_url
- */
- protected $department_url;
- /**
- * @var bigint $disk_quota
- */
- protected $disk_quota;
- /**
- * @var datetime $last_visit
- */
- protected $last_visit;
- /**
- * @var datetime $last_edit
- */
- protected $last_edit;
- /**
- * @var datetime $creation_date
- */
- protected $creation_date;
- /**
- * @var datetime $expiration_date
- */
- protected $expiration_date;
- /**
- * @var string $target_course_code
- */
- protected $target_course_code;
- /**
- * @var boolean $subscribe
- */
- protected $subscribe;
- /**
- * @var boolean $unsubscribe
- */
- protected $unsubscribe;
- /**
- * @var string $registration_code
- */
- protected $registration_code;
- /**
- * @var text $legal
- */
- protected $legal;
- /**
- * @var integer $activate_legal
- */
- protected $activate_legal;
- /**
- * @var integer $course_type_id
- */
- protected $course_type_id;
- /**
- * Get id
- *
- * @return integer
- */
- public function get_id()
- {
- return $this->id;
- }
- /**
- * Set code
- *
- * @param string $value
- * @return Course
- */
- public function set_code($value)
- {
- $this->code = $value;
- return $this;
- }
- /**
- * Get code
- *
- * @return string
- */
- public function get_code()
- {
- return $this->code;
- }
- /**
- * Set directory
- *
- * @param string $value
- * @return Course
- */
- public function set_directory($value)
- {
- $this->directory = $value;
- return $this;
- }
- /**
- * Get directory
- *
- * @return string
- */
- public function get_directory()
- {
- return $this->directory;
- }
- /**
- * Set db_name
- *
- * @param string $value
- * @return Course
- */
- public function set_db_name($value)
- {
- $this->db_name = $value;
- return $this;
- }
- /**
- * Get db_name
- *
- * @return string
- */
- public function get_db_name()
- {
- return $this->db_name;
- }
- /**
- * Set course_language
- *
- * @param string $value
- * @return Course
- */
- public function set_course_language($value)
- {
- $this->course_language = $value;
- return $this;
- }
- /**
- * Get course_language
- *
- * @return string
- */
- public function get_course_language()
- {
- return $this->course_language;
- }
- /**
- * Set title
- *
- * @param string $value
- * @return Course
- */
- public function set_title($value)
- {
- $this->title = $value;
- return $this;
- }
- /**
- * Get title
- *
- * @return string
- */
- public function get_title()
- {
- return $this->title;
- }
- /**
- * Set description
- *
- * @param text $value
- * @return Course
- */
- public function set_description($value)
- {
- $this->description = $value;
- return $this;
- }
- /**
- * Get description
- *
- * @return text
- */
- public function get_description()
- {
- return $this->description;
- }
- /**
- * Set category_code
- *
- * @param string $value
- * @return Course
- */
- public function set_category_code($value)
- {
- $this->category_code = $value;
- return $this;
- }
- /**
- * Get category_code
- *
- * @return string
- */
- public function get_category_code()
- {
- return $this->category_code;
- }
- /**
- * Set visibility
- *
- * @param boolean $value
- * @return Course
- */
- public function set_visibility($value)
- {
- $this->visibility = $value;
- return $this;
- }
- /**
- * Get visibility
- *
- * @return boolean
- */
- public function get_visibility()
- {
- return $this->visibility;
- }
- /**
- * Set show_score
- *
- * @param integer $value
- * @return Course
- */
- public function set_show_score($value)
- {
- $this->show_score = $value;
- return $this;
- }
- /**
- * Get show_score
- *
- * @return integer
- */
- public function get_show_score()
- {
- return $this->show_score;
- }
- /**
- * Set tutor_name
- *
- * @param string $value
- * @return Course
- */
- public function set_tutor_name($value)
- {
- $this->tutor_name = $value;
- return $this;
- }
- /**
- * Get tutor_name
- *
- * @return string
- */
- public function get_tutor_name()
- {
- return $this->tutor_name;
- }
- /**
- * Set visual_code
- *
- * @param string $value
- * @return Course
- */
- public function set_visual_code($value)
- {
- $this->visual_code = $value;
- return $this;
- }
- /**
- * Get visual_code
- *
- * @return string
- */
- public function get_visual_code()
- {
- return $this->visual_code;
- }
- /**
- * Set department_name
- *
- * @param string $value
- * @return Course
- */
- public function set_department_name($value)
- {
- $this->department_name = $value;
- return $this;
- }
- /**
- * Get department_name
- *
- * @return string
- */
- public function get_department_name()
- {
- return $this->department_name;
- }
- /**
- * Set department_url
- *
- * @param string $value
- * @return Course
- */
- public function set_department_url($value)
- {
- $this->department_url = $value;
- return $this;
- }
- /**
- * Get department_url
- *
- * @return string
- */
- public function get_department_url()
- {
- return $this->department_url;
- }
- /**
- * Set disk_quota
- *
- * @param bigint $value
- * @return Course
- */
- public function set_disk_quota($value)
- {
- $this->disk_quota = $value;
- return $this;
- }
- /**
- * Get disk_quota
- *
- * @return bigint
- */
- public function get_disk_quota()
- {
- return $this->disk_quota;
- }
- /**
- * Set last_visit
- *
- * @param datetime $value
- * @return Course
- */
- public function set_last_visit($value)
- {
- $this->last_visit = $value;
- return $this;
- }
- /**
- * Get last_visit
- *
- * @return datetime
- */
- public function get_last_visit()
- {
- return $this->last_visit;
- }
- /**
- * Set last_edit
- *
- * @param datetime $value
- * @return Course
- */
- public function set_last_edit($value)
- {
- $this->last_edit = $value;
- return $this;
- }
- /**
- * Get last_edit
- *
- * @return datetime
- */
- public function get_last_edit()
- {
- return $this->last_edit;
- }
- /**
- * Set creation_date
- *
- * @param datetime $value
- * @return Course
- */
- public function set_creation_date($value)
- {
- $this->creation_date = $value;
- return $this;
- }
- /**
- * Get creation_date
- *
- * @return datetime
- */
- public function get_creation_date()
- {
- return $this->creation_date;
- }
- /**
- * Set expiration_date
- *
- * @param datetime $value
- * @return Course
- */
- public function set_expiration_date($value)
- {
- $this->expiration_date = $value;
- return $this;
- }
- /**
- * Get expiration_date
- *
- * @return datetime
- */
- public function get_expiration_date()
- {
- return $this->expiration_date;
- }
- /**
- * Set target_course_code
- *
- * @param string $value
- * @return Course
- */
- public function set_target_course_code($value)
- {
- $this->target_course_code = $value;
- return $this;
- }
- /**
- * Get target_course_code
- *
- * @return string
- */
- public function get_target_course_code()
- {
- return $this->target_course_code;
- }
- /**
- * Set subscribe
- *
- * @param boolean $value
- * @return Course
- */
- public function set_subscribe($value)
- {
- $this->subscribe = $value;
- return $this;
- }
- /**
- * Get subscribe
- *
- * @return boolean
- */
- public function get_subscribe()
- {
- return $this->subscribe;
- }
- /**
- * Set unsubscribe
- *
- * @param boolean $value
- * @return Course
- */
- public function set_unsubscribe($value)
- {
- $this->unsubscribe = $value;
- return $this;
- }
- /**
- * Get unsubscribe
- *
- * @return boolean
- */
- public function get_unsubscribe()
- {
- return $this->unsubscribe;
- }
- /**
- * Set registration_code
- *
- * @param string $value
- * @return Course
- */
- public function set_registration_code($value)
- {
- $this->registration_code = $value;
- return $this;
- }
- /**
- * Get registration_code
- *
- * @return string
- */
- public function get_registration_code()
- {
- return $this->registration_code;
- }
- /**
- * Set legal
- *
- * @param text $value
- * @return Course
- */
- public function set_legal($value)
- {
- $this->legal = $value;
- return $this;
- }
- /**
- * Get legal
- *
- * @return text
- */
- public function get_legal()
- {
- return $this->legal;
- }
- /**
- * Set activate_legal
- *
- * @param integer $value
- * @return Course
- */
- public function set_activate_legal($value)
- {
- $this->activate_legal = $value;
- return $this;
- }
- /**
- * Get activate_legal
- *
- * @return integer
- */
- public function get_activate_legal()
- {
- return $this->activate_legal;
- }
- /**
- * Set course_type_id
- *
- * @param integer $value
- * @return Course
- */
- public function set_course_type_id($value)
- {
- $this->course_type_id = $value;
- return $this;
- }
- /**
- * Get course_type_id
- *
- * @return integer
- */
- public function get_course_type_id()
- {
- return $this->course_type_id;
- }
- }
|