group_category.class.php 7.6 KB

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