123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- *
- * @license see /license.txt
- * @author autogenerated
- */
- class SysAnnouncement extends \Entity
- {
- /**
- * @return \Entity\Repository\SysAnnouncementRepository
- */
- public static function repository(){
- return \Entity\Repository\SysAnnouncementRepository::instance();
- }
- /**
- * @return \Entity\SysAnnouncement
- */
- public static function create(){
- return new self();
- }
- /**
- * @var integer $id
- */
- protected $id;
- /**
- * @var datetime $date_start
- */
- protected $date_start;
- /**
- * @var datetime $date_end
- */
- protected $date_end;
- /**
- * @var boolean $visible_teacher
- */
- protected $visible_teacher;
- /**
- * @var boolean $visible_student
- */
- protected $visible_student;
- /**
- * @var boolean $visible_guest
- */
- protected $visible_guest;
- /**
- * @var string $title
- */
- protected $title;
- /**
- * @var text $content
- */
- protected $content;
- /**
- * @var string $lang
- */
- protected $lang;
- /**
- * @var integer $access_url_id
- */
- protected $access_url_id;
- /**
- * Get id
- *
- * @return integer
- */
- public function get_id()
- {
- return $this->id;
- }
- /**
- * Set date_start
- *
- * @param datetime $value
- * @return SysAnnouncement
- */
- public function set_date_start($value)
- {
- $this->date_start = $value;
- return $this;
- }
- /**
- * Get date_start
- *
- * @return datetime
- */
- public function get_date_start()
- {
- return $this->date_start;
- }
- /**
- * Set date_end
- *
- * @param datetime $value
- * @return SysAnnouncement
- */
- public function set_date_end($value)
- {
- $this->date_end = $value;
- return $this;
- }
- /**
- * Get date_end
- *
- * @return datetime
- */
- public function get_date_end()
- {
- return $this->date_end;
- }
- /**
- * Set visible_teacher
- *
- * @param boolean $value
- * @return SysAnnouncement
- */
- public function set_visible_teacher($value)
- {
- $this->visible_teacher = $value;
- return $this;
- }
- /**
- * Get visible_teacher
- *
- * @return boolean
- */
- public function get_visible_teacher()
- {
- return $this->visible_teacher;
- }
- /**
- * Set visible_student
- *
- * @param boolean $value
- * @return SysAnnouncement
- */
- public function set_visible_student($value)
- {
- $this->visible_student = $value;
- return $this;
- }
- /**
- * Get visible_student
- *
- * @return boolean
- */
- public function get_visible_student()
- {
- return $this->visible_student;
- }
- /**
- * Set visible_guest
- *
- * @param boolean $value
- * @return SysAnnouncement
- */
- public function set_visible_guest($value)
- {
- $this->visible_guest = $value;
- return $this;
- }
- /**
- * Get visible_guest
- *
- * @return boolean
- */
- public function get_visible_guest()
- {
- return $this->visible_guest;
- }
- /**
- * Set title
- *
- * @param string $value
- * @return SysAnnouncement
- */
- public function set_title($value)
- {
- $this->title = $value;
- return $this;
- }
- /**
- * Get title
- *
- * @return string
- */
- public function get_title()
- {
- return $this->title;
- }
- /**
- * Set content
- *
- * @param text $value
- * @return SysAnnouncement
- */
- public function set_content($value)
- {
- $this->content = $value;
- return $this;
- }
- /**
- * Get content
- *
- * @return text
- */
- public function get_content()
- {
- return $this->content;
- }
- /**
- * Set lang
- *
- * @param string $value
- * @return SysAnnouncement
- */
- public function set_lang($value)
- {
- $this->lang = $value;
- return $this;
- }
- /**
- * Get lang
- *
- * @return string
- */
- public function get_lang()
- {
- return $this->lang;
- }
- /**
- * Set access_url_id
- *
- * @param integer $value
- * @return SysAnnouncement
- */
- public function set_access_url_id($value)
- {
- $this->access_url_id = $value;
- return $this;
- }
- /**
- * Get access_url_id
- *
- * @return integer
- */
- public function get_access_url_id()
- {
- return $this->access_url_id;
- }
- }
|