sys_announcement.class.php 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. *
  6. * @license see /license.txt
  7. * @author autogenerated
  8. */
  9. class SysAnnouncement extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\SysAnnouncementRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\SysAnnouncementRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\SysAnnouncement
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $id
  25. */
  26. protected $id;
  27. /**
  28. * @var datetime $date_start
  29. */
  30. protected $date_start;
  31. /**
  32. * @var datetime $date_end
  33. */
  34. protected $date_end;
  35. /**
  36. * @var boolean $visible_teacher
  37. */
  38. protected $visible_teacher;
  39. /**
  40. * @var boolean $visible_student
  41. */
  42. protected $visible_student;
  43. /**
  44. * @var boolean $visible_guest
  45. */
  46. protected $visible_guest;
  47. /**
  48. * @var string $title
  49. */
  50. protected $title;
  51. /**
  52. * @var text $content
  53. */
  54. protected $content;
  55. /**
  56. * @var string $lang
  57. */
  58. protected $lang;
  59. /**
  60. * @var integer $access_url_id
  61. */
  62. protected $access_url_id;
  63. /**
  64. * Get id
  65. *
  66. * @return integer
  67. */
  68. public function get_id()
  69. {
  70. return $this->id;
  71. }
  72. /**
  73. * Set date_start
  74. *
  75. * @param datetime $value
  76. * @return SysAnnouncement
  77. */
  78. public function set_date_start($value)
  79. {
  80. $this->date_start = $value;
  81. return $this;
  82. }
  83. /**
  84. * Get date_start
  85. *
  86. * @return datetime
  87. */
  88. public function get_date_start()
  89. {
  90. return $this->date_start;
  91. }
  92. /**
  93. * Set date_end
  94. *
  95. * @param datetime $value
  96. * @return SysAnnouncement
  97. */
  98. public function set_date_end($value)
  99. {
  100. $this->date_end = $value;
  101. return $this;
  102. }
  103. /**
  104. * Get date_end
  105. *
  106. * @return datetime
  107. */
  108. public function get_date_end()
  109. {
  110. return $this->date_end;
  111. }
  112. /**
  113. * Set visible_teacher
  114. *
  115. * @param boolean $value
  116. * @return SysAnnouncement
  117. */
  118. public function set_visible_teacher($value)
  119. {
  120. $this->visible_teacher = $value;
  121. return $this;
  122. }
  123. /**
  124. * Get visible_teacher
  125. *
  126. * @return boolean
  127. */
  128. public function get_visible_teacher()
  129. {
  130. return $this->visible_teacher;
  131. }
  132. /**
  133. * Set visible_student
  134. *
  135. * @param boolean $value
  136. * @return SysAnnouncement
  137. */
  138. public function set_visible_student($value)
  139. {
  140. $this->visible_student = $value;
  141. return $this;
  142. }
  143. /**
  144. * Get visible_student
  145. *
  146. * @return boolean
  147. */
  148. public function get_visible_student()
  149. {
  150. return $this->visible_student;
  151. }
  152. /**
  153. * Set visible_guest
  154. *
  155. * @param boolean $value
  156. * @return SysAnnouncement
  157. */
  158. public function set_visible_guest($value)
  159. {
  160. $this->visible_guest = $value;
  161. return $this;
  162. }
  163. /**
  164. * Get visible_guest
  165. *
  166. * @return boolean
  167. */
  168. public function get_visible_guest()
  169. {
  170. return $this->visible_guest;
  171. }
  172. /**
  173. * Set title
  174. *
  175. * @param string $value
  176. * @return SysAnnouncement
  177. */
  178. public function set_title($value)
  179. {
  180. $this->title = $value;
  181. return $this;
  182. }
  183. /**
  184. * Get title
  185. *
  186. * @return string
  187. */
  188. public function get_title()
  189. {
  190. return $this->title;
  191. }
  192. /**
  193. * Set content
  194. *
  195. * @param text $value
  196. * @return SysAnnouncement
  197. */
  198. public function set_content($value)
  199. {
  200. $this->content = $value;
  201. return $this;
  202. }
  203. /**
  204. * Get content
  205. *
  206. * @return text
  207. */
  208. public function get_content()
  209. {
  210. return $this->content;
  211. }
  212. /**
  213. * Set lang
  214. *
  215. * @param string $value
  216. * @return SysAnnouncement
  217. */
  218. public function set_lang($value)
  219. {
  220. $this->lang = $value;
  221. return $this;
  222. }
  223. /**
  224. * Get lang
  225. *
  226. * @return string
  227. */
  228. public function get_lang()
  229. {
  230. return $this->lang;
  231. }
  232. /**
  233. * Set access_url_id
  234. *
  235. * @param integer $value
  236. * @return SysAnnouncement
  237. */
  238. public function set_access_url_id($value)
  239. {
  240. $this->access_url_id = $value;
  241. return $this;
  242. }
  243. /**
  244. * Get access_url_id
  245. *
  246. * @return integer
  247. */
  248. public function get_access_url_id()
  249. {
  250. return $this->access_url_id;
  251. }
  252. }