student_publication.class.php 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622
  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 StudentPublication extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\StudentPublicationRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\StudentPublicationRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\StudentPublication
  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 $url
  33. */
  34. protected $url;
  35. /**
  36. * @var string $title
  37. */
  38. protected $title;
  39. /**
  40. * @var text $description
  41. */
  42. protected $description;
  43. /**
  44. * @var string $author
  45. */
  46. protected $author;
  47. /**
  48. * @var boolean $active
  49. */
  50. protected $active;
  51. /**
  52. * @var boolean $accepted
  53. */
  54. protected $accepted;
  55. /**
  56. * @var integer $post_group_id
  57. */
  58. protected $post_group_id;
  59. /**
  60. * @var datetime $sent_date
  61. */
  62. protected $sent_date;
  63. /**
  64. * @var string $filetype
  65. */
  66. protected $filetype;
  67. /**
  68. * @var integer $has_properties
  69. */
  70. protected $has_properties;
  71. /**
  72. * @var boolean $view_properties
  73. */
  74. protected $view_properties;
  75. /**
  76. * @var float $qualification
  77. */
  78. protected $qualification;
  79. /**
  80. * @var datetime $date_of_qualification
  81. */
  82. protected $date_of_qualification;
  83. /**
  84. * @var integer $parent_id
  85. */
  86. protected $parent_id;
  87. /**
  88. * @var integer $qualificator_id
  89. */
  90. protected $qualificator_id;
  91. /**
  92. * @var float $weight
  93. */
  94. protected $weight;
  95. /**
  96. * @var integer $session_id
  97. */
  98. protected $session_id;
  99. /**
  100. * @var integer $user_id
  101. */
  102. protected $user_id;
  103. /**
  104. * @var integer $allow_text_assignment
  105. */
  106. protected $allow_text_assignment;
  107. /**
  108. * @var integer $contains_file
  109. */
  110. protected $contains_file;
  111. /**
  112. * Set c_id
  113. *
  114. * @param integer $value
  115. * @return StudentPublication
  116. */
  117. public function set_c_id($value)
  118. {
  119. $this->c_id = $value;
  120. return $this;
  121. }
  122. /**
  123. * Get c_id
  124. *
  125. * @return integer
  126. */
  127. public function get_c_id()
  128. {
  129. return $this->c_id;
  130. }
  131. /**
  132. * Set id
  133. *
  134. * @param integer $value
  135. * @return StudentPublication
  136. */
  137. public function set_id($value)
  138. {
  139. $this->id = $value;
  140. return $this;
  141. }
  142. /**
  143. * Get id
  144. *
  145. * @return integer
  146. */
  147. public function get_id()
  148. {
  149. return $this->id;
  150. }
  151. /**
  152. * Set url
  153. *
  154. * @param string $value
  155. * @return StudentPublication
  156. */
  157. public function set_url($value)
  158. {
  159. $this->url = $value;
  160. return $this;
  161. }
  162. /**
  163. * Get url
  164. *
  165. * @return string
  166. */
  167. public function get_url()
  168. {
  169. return $this->url;
  170. }
  171. /**
  172. * Set title
  173. *
  174. * @param string $value
  175. * @return StudentPublication
  176. */
  177. public function set_title($value)
  178. {
  179. $this->title = $value;
  180. return $this;
  181. }
  182. /**
  183. * Get title
  184. *
  185. * @return string
  186. */
  187. public function get_title()
  188. {
  189. return $this->title;
  190. }
  191. /**
  192. * Set description
  193. *
  194. * @param text $value
  195. * @return StudentPublication
  196. */
  197. public function set_description($value)
  198. {
  199. $this->description = $value;
  200. return $this;
  201. }
  202. /**
  203. * Get description
  204. *
  205. * @return text
  206. */
  207. public function get_description()
  208. {
  209. return $this->description;
  210. }
  211. /**
  212. * Set author
  213. *
  214. * @param string $value
  215. * @return StudentPublication
  216. */
  217. public function set_author($value)
  218. {
  219. $this->author = $value;
  220. return $this;
  221. }
  222. /**
  223. * Get author
  224. *
  225. * @return string
  226. */
  227. public function get_author()
  228. {
  229. return $this->author;
  230. }
  231. /**
  232. * Set active
  233. *
  234. * @param boolean $value
  235. * @return StudentPublication
  236. */
  237. public function set_active($value)
  238. {
  239. $this->active = $value;
  240. return $this;
  241. }
  242. /**
  243. * Get active
  244. *
  245. * @return boolean
  246. */
  247. public function get_active()
  248. {
  249. return $this->active;
  250. }
  251. /**
  252. * Set accepted
  253. *
  254. * @param boolean $value
  255. * @return StudentPublication
  256. */
  257. public function set_accepted($value)
  258. {
  259. $this->accepted = $value;
  260. return $this;
  261. }
  262. /**
  263. * Get accepted
  264. *
  265. * @return boolean
  266. */
  267. public function get_accepted()
  268. {
  269. return $this->accepted;
  270. }
  271. /**
  272. * Set post_group_id
  273. *
  274. * @param integer $value
  275. * @return StudentPublication
  276. */
  277. public function set_post_group_id($value)
  278. {
  279. $this->post_group_id = $value;
  280. return $this;
  281. }
  282. /**
  283. * Get post_group_id
  284. *
  285. * @return integer
  286. */
  287. public function get_post_group_id()
  288. {
  289. return $this->post_group_id;
  290. }
  291. /**
  292. * Set sent_date
  293. *
  294. * @param datetime $value
  295. * @return StudentPublication
  296. */
  297. public function set_sent_date($value)
  298. {
  299. $this->sent_date = $value;
  300. return $this;
  301. }
  302. /**
  303. * Get sent_date
  304. *
  305. * @return datetime
  306. */
  307. public function get_sent_date()
  308. {
  309. return $this->sent_date;
  310. }
  311. /**
  312. * Set filetype
  313. *
  314. * @param string $value
  315. * @return StudentPublication
  316. */
  317. public function set_filetype($value)
  318. {
  319. $this->filetype = $value;
  320. return $this;
  321. }
  322. /**
  323. * Get filetype
  324. *
  325. * @return string
  326. */
  327. public function get_filetype()
  328. {
  329. return $this->filetype;
  330. }
  331. /**
  332. * Set has_properties
  333. *
  334. * @param integer $value
  335. * @return StudentPublication
  336. */
  337. public function set_has_properties($value)
  338. {
  339. $this->has_properties = $value;
  340. return $this;
  341. }
  342. /**
  343. * Get has_properties
  344. *
  345. * @return integer
  346. */
  347. public function get_has_properties()
  348. {
  349. return $this->has_properties;
  350. }
  351. /**
  352. * Set view_properties
  353. *
  354. * @param boolean $value
  355. * @return StudentPublication
  356. */
  357. public function set_view_properties($value)
  358. {
  359. $this->view_properties = $value;
  360. return $this;
  361. }
  362. /**
  363. * Get view_properties
  364. *
  365. * @return boolean
  366. */
  367. public function get_view_properties()
  368. {
  369. return $this->view_properties;
  370. }
  371. /**
  372. * Set qualification
  373. *
  374. * @param float $value
  375. * @return StudentPublication
  376. */
  377. public function set_qualification($value)
  378. {
  379. $this->qualification = $value;
  380. return $this;
  381. }
  382. /**
  383. * Get qualification
  384. *
  385. * @return float
  386. */
  387. public function get_qualification()
  388. {
  389. return $this->qualification;
  390. }
  391. /**
  392. * Set date_of_qualification
  393. *
  394. * @param datetime $value
  395. * @return StudentPublication
  396. */
  397. public function set_date_of_qualification($value)
  398. {
  399. $this->date_of_qualification = $value;
  400. return $this;
  401. }
  402. /**
  403. * Get date_of_qualification
  404. *
  405. * @return datetime
  406. */
  407. public function get_date_of_qualification()
  408. {
  409. return $this->date_of_qualification;
  410. }
  411. /**
  412. * Set parent_id
  413. *
  414. * @param integer $value
  415. * @return StudentPublication
  416. */
  417. public function set_parent_id($value)
  418. {
  419. $this->parent_id = $value;
  420. return $this;
  421. }
  422. /**
  423. * Get parent_id
  424. *
  425. * @return integer
  426. */
  427. public function get_parent_id()
  428. {
  429. return $this->parent_id;
  430. }
  431. /**
  432. * Set qualificator_id
  433. *
  434. * @param integer $value
  435. * @return StudentPublication
  436. */
  437. public function set_qualificator_id($value)
  438. {
  439. $this->qualificator_id = $value;
  440. return $this;
  441. }
  442. /**
  443. * Get qualificator_id
  444. *
  445. * @return integer
  446. */
  447. public function get_qualificator_id()
  448. {
  449. return $this->qualificator_id;
  450. }
  451. /**
  452. * Set weight
  453. *
  454. * @param float $value
  455. * @return StudentPublication
  456. */
  457. public function set_weight($value)
  458. {
  459. $this->weight = $value;
  460. return $this;
  461. }
  462. /**
  463. * Get weight
  464. *
  465. * @return float
  466. */
  467. public function get_weight()
  468. {
  469. return $this->weight;
  470. }
  471. /**
  472. * Set session_id
  473. *
  474. * @param integer $value
  475. * @return StudentPublication
  476. */
  477. public function set_session_id($value)
  478. {
  479. $this->session_id = $value;
  480. return $this;
  481. }
  482. /**
  483. * Get session_id
  484. *
  485. * @return integer
  486. */
  487. public function get_session_id()
  488. {
  489. return $this->session_id;
  490. }
  491. /**
  492. * Set user_id
  493. *
  494. * @param integer $value
  495. * @return StudentPublication
  496. */
  497. public function set_user_id($value)
  498. {
  499. $this->user_id = $value;
  500. return $this;
  501. }
  502. /**
  503. * Get user_id
  504. *
  505. * @return integer
  506. */
  507. public function get_user_id()
  508. {
  509. return $this->user_id;
  510. }
  511. /**
  512. * Set allow_text_assignment
  513. *
  514. * @param integer $value
  515. * @return StudentPublication
  516. */
  517. public function set_allow_text_assignment($value)
  518. {
  519. $this->allow_text_assignment = $value;
  520. return $this;
  521. }
  522. /**
  523. * Get allow_text_assignment
  524. *
  525. * @return integer
  526. */
  527. public function get_allow_text_assignment()
  528. {
  529. return $this->allow_text_assignment;
  530. }
  531. /**
  532. * Set contains_file
  533. *
  534. * @param integer $value
  535. * @return StudentPublication
  536. */
  537. public function set_contains_file($value)
  538. {
  539. $this->contains_file = $value;
  540. return $this;
  541. }
  542. /**
  543. * Get contains_file
  544. *
  545. * @return integer
  546. */
  547. public function get_contains_file()
  548. {
  549. return $this->contains_file;
  550. }
  551. }