EntityCGroupCategory.php 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  1. <?php
  2. use Doctrine\ORM\Mapping as ORM;
  3. /**
  4. * EntityCGroupCategory
  5. *
  6. * @Table(name="c_group_category")
  7. * @Entity
  8. */
  9. class EntityCGroupCategory
  10. {
  11. /**
  12. * @var integer
  13. *
  14. * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  15. * @Id
  16. * @GeneratedValue(strategy="NONE")
  17. */
  18. private $cId;
  19. /**
  20. * @var integer
  21. *
  22. * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  23. * @Id
  24. * @GeneratedValue(strategy="NONE")
  25. */
  26. private $id;
  27. /**
  28. * @var string
  29. *
  30. * @Column(name="title", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  31. */
  32. private $title;
  33. /**
  34. * @var string
  35. *
  36. * @Column(name="description", type="text", precision=0, scale=0, nullable=false, unique=false)
  37. */
  38. private $description;
  39. /**
  40. * @var boolean
  41. *
  42. * @Column(name="doc_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
  43. */
  44. private $docState;
  45. /**
  46. * @var boolean
  47. *
  48. * @Column(name="calendar_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
  49. */
  50. private $calendarState;
  51. /**
  52. * @var boolean
  53. *
  54. * @Column(name="work_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
  55. */
  56. private $workState;
  57. /**
  58. * @var boolean
  59. *
  60. * @Column(name="announcements_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
  61. */
  62. private $announcementsState;
  63. /**
  64. * @var boolean
  65. *
  66. * @Column(name="forum_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
  67. */
  68. private $forumState;
  69. /**
  70. * @var boolean
  71. *
  72. * @Column(name="wiki_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
  73. */
  74. private $wikiState;
  75. /**
  76. * @var boolean
  77. *
  78. * @Column(name="chat_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
  79. */
  80. private $chatState;
  81. /**
  82. * @var integer
  83. *
  84. * @Column(name="max_student", type="integer", precision=0, scale=0, nullable=false, unique=false)
  85. */
  86. private $maxStudent;
  87. /**
  88. * @var boolean
  89. *
  90. * @Column(name="self_reg_allowed", type="boolean", precision=0, scale=0, nullable=false, unique=false)
  91. */
  92. private $selfRegAllowed;
  93. /**
  94. * @var boolean
  95. *
  96. * @Column(name="self_unreg_allowed", type="boolean", precision=0, scale=0, nullable=false, unique=false)
  97. */
  98. private $selfUnregAllowed;
  99. /**
  100. * @var integer
  101. *
  102. * @Column(name="groups_per_user", type="integer", precision=0, scale=0, nullable=false, unique=false)
  103. */
  104. private $groupsPerUser;
  105. /**
  106. * @var integer
  107. *
  108. * @Column(name="display_order", type="integer", precision=0, scale=0, nullable=false, unique=false)
  109. */
  110. private $displayOrder;
  111. /**
  112. * Set cId
  113. *
  114. * @param integer $cId
  115. * @return EntityCGroupCategory
  116. */
  117. public function setCId($cId)
  118. {
  119. $this->cId = $cId;
  120. return $this;
  121. }
  122. /**
  123. * Get cId
  124. *
  125. * @return integer
  126. */
  127. public function getCId()
  128. {
  129. return $this->cId;
  130. }
  131. /**
  132. * Set id
  133. *
  134. * @param integer $id
  135. * @return EntityCGroupCategory
  136. */
  137. public function setId($id)
  138. {
  139. $this->id = $id;
  140. return $this;
  141. }
  142. /**
  143. * Get id
  144. *
  145. * @return integer
  146. */
  147. public function getId()
  148. {
  149. return $this->id;
  150. }
  151. /**
  152. * Set title
  153. *
  154. * @param string $title
  155. * @return EntityCGroupCategory
  156. */
  157. public function setTitle($title)
  158. {
  159. $this->title = $title;
  160. return $this;
  161. }
  162. /**
  163. * Get title
  164. *
  165. * @return string
  166. */
  167. public function getTitle()
  168. {
  169. return $this->title;
  170. }
  171. /**
  172. * Set description
  173. *
  174. * @param string $description
  175. * @return EntityCGroupCategory
  176. */
  177. public function setDescription($description)
  178. {
  179. $this->description = $description;
  180. return $this;
  181. }
  182. /**
  183. * Get description
  184. *
  185. * @return string
  186. */
  187. public function getDescription()
  188. {
  189. return $this->description;
  190. }
  191. /**
  192. * Set docState
  193. *
  194. * @param boolean $docState
  195. * @return EntityCGroupCategory
  196. */
  197. public function setDocState($docState)
  198. {
  199. $this->docState = $docState;
  200. return $this;
  201. }
  202. /**
  203. * Get docState
  204. *
  205. * @return boolean
  206. */
  207. public function getDocState()
  208. {
  209. return $this->docState;
  210. }
  211. /**
  212. * Set calendarState
  213. *
  214. * @param boolean $calendarState
  215. * @return EntityCGroupCategory
  216. */
  217. public function setCalendarState($calendarState)
  218. {
  219. $this->calendarState = $calendarState;
  220. return $this;
  221. }
  222. /**
  223. * Get calendarState
  224. *
  225. * @return boolean
  226. */
  227. public function getCalendarState()
  228. {
  229. return $this->calendarState;
  230. }
  231. /**
  232. * Set workState
  233. *
  234. * @param boolean $workState
  235. * @return EntityCGroupCategory
  236. */
  237. public function setWorkState($workState)
  238. {
  239. $this->workState = $workState;
  240. return $this;
  241. }
  242. /**
  243. * Get workState
  244. *
  245. * @return boolean
  246. */
  247. public function getWorkState()
  248. {
  249. return $this->workState;
  250. }
  251. /**
  252. * Set announcementsState
  253. *
  254. * @param boolean $announcementsState
  255. * @return EntityCGroupCategory
  256. */
  257. public function setAnnouncementsState($announcementsState)
  258. {
  259. $this->announcementsState = $announcementsState;
  260. return $this;
  261. }
  262. /**
  263. * Get announcementsState
  264. *
  265. * @return boolean
  266. */
  267. public function getAnnouncementsState()
  268. {
  269. return $this->announcementsState;
  270. }
  271. /**
  272. * Set forumState
  273. *
  274. * @param boolean $forumState
  275. * @return EntityCGroupCategory
  276. */
  277. public function setForumState($forumState)
  278. {
  279. $this->forumState = $forumState;
  280. return $this;
  281. }
  282. /**
  283. * Get forumState
  284. *
  285. * @return boolean
  286. */
  287. public function getForumState()
  288. {
  289. return $this->forumState;
  290. }
  291. /**
  292. * Set wikiState
  293. *
  294. * @param boolean $wikiState
  295. * @return EntityCGroupCategory
  296. */
  297. public function setWikiState($wikiState)
  298. {
  299. $this->wikiState = $wikiState;
  300. return $this;
  301. }
  302. /**
  303. * Get wikiState
  304. *
  305. * @return boolean
  306. */
  307. public function getWikiState()
  308. {
  309. return $this->wikiState;
  310. }
  311. /**
  312. * Set chatState
  313. *
  314. * @param boolean $chatState
  315. * @return EntityCGroupCategory
  316. */
  317. public function setChatState($chatState)
  318. {
  319. $this->chatState = $chatState;
  320. return $this;
  321. }
  322. /**
  323. * Get chatState
  324. *
  325. * @return boolean
  326. */
  327. public function getChatState()
  328. {
  329. return $this->chatState;
  330. }
  331. /**
  332. * Set maxStudent
  333. *
  334. * @param integer $maxStudent
  335. * @return EntityCGroupCategory
  336. */
  337. public function setMaxStudent($maxStudent)
  338. {
  339. $this->maxStudent = $maxStudent;
  340. return $this;
  341. }
  342. /**
  343. * Get maxStudent
  344. *
  345. * @return integer
  346. */
  347. public function getMaxStudent()
  348. {
  349. return $this->maxStudent;
  350. }
  351. /**
  352. * Set selfRegAllowed
  353. *
  354. * @param boolean $selfRegAllowed
  355. * @return EntityCGroupCategory
  356. */
  357. public function setSelfRegAllowed($selfRegAllowed)
  358. {
  359. $this->selfRegAllowed = $selfRegAllowed;
  360. return $this;
  361. }
  362. /**
  363. * Get selfRegAllowed
  364. *
  365. * @return boolean
  366. */
  367. public function getSelfRegAllowed()
  368. {
  369. return $this->selfRegAllowed;
  370. }
  371. /**
  372. * Set selfUnregAllowed
  373. *
  374. * @param boolean $selfUnregAllowed
  375. * @return EntityCGroupCategory
  376. */
  377. public function setSelfUnregAllowed($selfUnregAllowed)
  378. {
  379. $this->selfUnregAllowed = $selfUnregAllowed;
  380. return $this;
  381. }
  382. /**
  383. * Get selfUnregAllowed
  384. *
  385. * @return boolean
  386. */
  387. public function getSelfUnregAllowed()
  388. {
  389. return $this->selfUnregAllowed;
  390. }
  391. /**
  392. * Set groupsPerUser
  393. *
  394. * @param integer $groupsPerUser
  395. * @return EntityCGroupCategory
  396. */
  397. public function setGroupsPerUser($groupsPerUser)
  398. {
  399. $this->groupsPerUser = $groupsPerUser;
  400. return $this;
  401. }
  402. /**
  403. * Get groupsPerUser
  404. *
  405. * @return integer
  406. */
  407. public function getGroupsPerUser()
  408. {
  409. return $this->groupsPerUser;
  410. }
  411. /**
  412. * Set displayOrder
  413. *
  414. * @param integer $displayOrder
  415. * @return EntityCGroupCategory
  416. */
  417. public function setDisplayOrder($displayOrder)
  418. {
  419. $this->displayOrder = $displayOrder;
  420. return $this;
  421. }
  422. /**
  423. * Get displayOrder
  424. *
  425. * @return integer
  426. */
  427. public function getDisplayOrder()
  428. {
  429. return $this->displayOrder;
  430. }
  431. }