group_info.class.php 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487
  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 GroupInfo extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\GroupInfoRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\GroupInfoRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\GroupInfo
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $c_id
  25. */
  26. protected $c_id;
  27. /**
  28. * @var integer $id
  29. */
  30. protected $id;
  31. /**
  32. * @var string $name
  33. */
  34. protected $name;
  35. /**
  36. * @var integer $category_id
  37. */
  38. protected $category_id;
  39. /**
  40. * @var text $description
  41. */
  42. protected $description;
  43. /**
  44. * @var integer $max_student
  45. */
  46. protected $max_student;
  47. /**
  48. * @var boolean $doc_state
  49. */
  50. protected $doc_state;
  51. /**
  52. * @var boolean $calendar_state
  53. */
  54. protected $calendar_state;
  55. /**
  56. * @var boolean $work_state
  57. */
  58. protected $work_state;
  59. /**
  60. * @var boolean $announcements_state
  61. */
  62. protected $announcements_state;
  63. /**
  64. * @var boolean $forum_state
  65. */
  66. protected $forum_state;
  67. /**
  68. * @var boolean $wiki_state
  69. */
  70. protected $wiki_state;
  71. /**
  72. * @var boolean $chat_state
  73. */
  74. protected $chat_state;
  75. /**
  76. * @var string $secret_directory
  77. */
  78. protected $secret_directory;
  79. /**
  80. * @var boolean $self_registration_allowed
  81. */
  82. protected $self_registration_allowed;
  83. /**
  84. * @var boolean $self_unregistration_allowed
  85. */
  86. protected $self_unregistration_allowed;
  87. /**
  88. * @var integer $session_id
  89. */
  90. protected $session_id;
  91. /**
  92. * Set c_id
  93. *
  94. * @param integer $value
  95. * @return GroupInfo
  96. */
  97. public function set_c_id($value)
  98. {
  99. $this->c_id = $value;
  100. return $this;
  101. }
  102. /**
  103. * Get c_id
  104. *
  105. * @return integer
  106. */
  107. public function get_c_id()
  108. {
  109. return $this->c_id;
  110. }
  111. /**
  112. * Set id
  113. *
  114. * @param integer $value
  115. * @return GroupInfo
  116. */
  117. public function set_id($value)
  118. {
  119. $this->id = $value;
  120. return $this;
  121. }
  122. /**
  123. * Get id
  124. *
  125. * @return integer
  126. */
  127. public function get_id()
  128. {
  129. return $this->id;
  130. }
  131. /**
  132. * Set name
  133. *
  134. * @param string $value
  135. * @return GroupInfo
  136. */
  137. public function set_name($value)
  138. {
  139. $this->name = $value;
  140. return $this;
  141. }
  142. /**
  143. * Get name
  144. *
  145. * @return string
  146. */
  147. public function get_name()
  148. {
  149. return $this->name;
  150. }
  151. /**
  152. * Set category_id
  153. *
  154. * @param integer $value
  155. * @return GroupInfo
  156. */
  157. public function set_category_id($value)
  158. {
  159. $this->category_id = $value;
  160. return $this;
  161. }
  162. /**
  163. * Get category_id
  164. *
  165. * @return integer
  166. */
  167. public function get_category_id()
  168. {
  169. return $this->category_id;
  170. }
  171. /**
  172. * Set description
  173. *
  174. * @param text $value
  175. * @return GroupInfo
  176. */
  177. public function set_description($value)
  178. {
  179. $this->description = $value;
  180. return $this;
  181. }
  182. /**
  183. * Get description
  184. *
  185. * @return text
  186. */
  187. public function get_description()
  188. {
  189. return $this->description;
  190. }
  191. /**
  192. * Set max_student
  193. *
  194. * @param integer $value
  195. * @return GroupInfo
  196. */
  197. public function set_max_student($value)
  198. {
  199. $this->max_student = $value;
  200. return $this;
  201. }
  202. /**
  203. * Get max_student
  204. *
  205. * @return integer
  206. */
  207. public function get_max_student()
  208. {
  209. return $this->max_student;
  210. }
  211. /**
  212. * Set doc_state
  213. *
  214. * @param boolean $value
  215. * @return GroupInfo
  216. */
  217. public function set_doc_state($value)
  218. {
  219. $this->doc_state = $value;
  220. return $this;
  221. }
  222. /**
  223. * Get doc_state
  224. *
  225. * @return boolean
  226. */
  227. public function get_doc_state()
  228. {
  229. return $this->doc_state;
  230. }
  231. /**
  232. * Set calendar_state
  233. *
  234. * @param boolean $value
  235. * @return GroupInfo
  236. */
  237. public function set_calendar_state($value)
  238. {
  239. $this->calendar_state = $value;
  240. return $this;
  241. }
  242. /**
  243. * Get calendar_state
  244. *
  245. * @return boolean
  246. */
  247. public function get_calendar_state()
  248. {
  249. return $this->calendar_state;
  250. }
  251. /**
  252. * Set work_state
  253. *
  254. * @param boolean $value
  255. * @return GroupInfo
  256. */
  257. public function set_work_state($value)
  258. {
  259. $this->work_state = $value;
  260. return $this;
  261. }
  262. /**
  263. * Get work_state
  264. *
  265. * @return boolean
  266. */
  267. public function get_work_state()
  268. {
  269. return $this->work_state;
  270. }
  271. /**
  272. * Set announcements_state
  273. *
  274. * @param boolean $value
  275. * @return GroupInfo
  276. */
  277. public function set_announcements_state($value)
  278. {
  279. $this->announcements_state = $value;
  280. return $this;
  281. }
  282. /**
  283. * Get announcements_state
  284. *
  285. * @return boolean
  286. */
  287. public function get_announcements_state()
  288. {
  289. return $this->announcements_state;
  290. }
  291. /**
  292. * Set forum_state
  293. *
  294. * @param boolean $value
  295. * @return GroupInfo
  296. */
  297. public function set_forum_state($value)
  298. {
  299. $this->forum_state = $value;
  300. return $this;
  301. }
  302. /**
  303. * Get forum_state
  304. *
  305. * @return boolean
  306. */
  307. public function get_forum_state()
  308. {
  309. return $this->forum_state;
  310. }
  311. /**
  312. * Set wiki_state
  313. *
  314. * @param boolean $value
  315. * @return GroupInfo
  316. */
  317. public function set_wiki_state($value)
  318. {
  319. $this->wiki_state = $value;
  320. return $this;
  321. }
  322. /**
  323. * Get wiki_state
  324. *
  325. * @return boolean
  326. */
  327. public function get_wiki_state()
  328. {
  329. return $this->wiki_state;
  330. }
  331. /**
  332. * Set chat_state
  333. *
  334. * @param boolean $value
  335. * @return GroupInfo
  336. */
  337. public function set_chat_state($value)
  338. {
  339. $this->chat_state = $value;
  340. return $this;
  341. }
  342. /**
  343. * Get chat_state
  344. *
  345. * @return boolean
  346. */
  347. public function get_chat_state()
  348. {
  349. return $this->chat_state;
  350. }
  351. /**
  352. * Set secret_directory
  353. *
  354. * @param string $value
  355. * @return GroupInfo
  356. */
  357. public function set_secret_directory($value)
  358. {
  359. $this->secret_directory = $value;
  360. return $this;
  361. }
  362. /**
  363. * Get secret_directory
  364. *
  365. * @return string
  366. */
  367. public function get_secret_directory()
  368. {
  369. return $this->secret_directory;
  370. }
  371. /**
  372. * Set self_registration_allowed
  373. *
  374. * @param boolean $value
  375. * @return GroupInfo
  376. */
  377. public function set_self_registration_allowed($value)
  378. {
  379. $this->self_registration_allowed = $value;
  380. return $this;
  381. }
  382. /**
  383. * Get self_registration_allowed
  384. *
  385. * @return boolean
  386. */
  387. public function get_self_registration_allowed()
  388. {
  389. return $this->self_registration_allowed;
  390. }
  391. /**
  392. * Set self_unregistration_allowed
  393. *
  394. * @param boolean $value
  395. * @return GroupInfo
  396. */
  397. public function set_self_unregistration_allowed($value)
  398. {
  399. $this->self_unregistration_allowed = $value;
  400. return $this;
  401. }
  402. /**
  403. * Get self_unregistration_allowed
  404. *
  405. * @return boolean
  406. */
  407. public function get_self_unregistration_allowed()
  408. {
  409. return $this->self_unregistration_allowed;
  410. }
  411. /**
  412. * Set session_id
  413. *
  414. * @param integer $value
  415. * @return GroupInfo
  416. */
  417. public function set_session_id($value)
  418. {
  419. $this->session_id = $value;
  420. return $this;
  421. }
  422. /**
  423. * Get session_id
  424. *
  425. * @return integer
  426. */
  427. public function get_session_id()
  428. {
  429. return $this->session_id;
  430. }
  431. }