notebook.class.php 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  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 Notebook extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\NotebookRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\NotebookRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\Notebook
  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 $notebook_id
  29. */
  30. protected $notebook_id;
  31. /**
  32. * @var integer $user_id
  33. */
  34. protected $user_id;
  35. /**
  36. * @var string $course
  37. */
  38. protected $course;
  39. /**
  40. * @var integer $session_id
  41. */
  42. protected $session_id;
  43. /**
  44. * @var string $title
  45. */
  46. protected $title;
  47. /**
  48. * @var text $description
  49. */
  50. protected $description;
  51. /**
  52. * @var datetime $creation_date
  53. */
  54. protected $creation_date;
  55. /**
  56. * @var datetime $update_date
  57. */
  58. protected $update_date;
  59. /**
  60. * @var integer $status
  61. */
  62. protected $status;
  63. /**
  64. * Set c_id
  65. *
  66. * @param integer $value
  67. * @return Notebook
  68. */
  69. public function set_c_id($value)
  70. {
  71. $this->c_id = $value;
  72. return $this;
  73. }
  74. /**
  75. * Get c_id
  76. *
  77. * @return integer
  78. */
  79. public function get_c_id()
  80. {
  81. return $this->c_id;
  82. }
  83. /**
  84. * Set notebook_id
  85. *
  86. * @param integer $value
  87. * @return Notebook
  88. */
  89. public function set_notebook_id($value)
  90. {
  91. $this->notebook_id = $value;
  92. return $this;
  93. }
  94. /**
  95. * Get notebook_id
  96. *
  97. * @return integer
  98. */
  99. public function get_notebook_id()
  100. {
  101. return $this->notebook_id;
  102. }
  103. /**
  104. * Set user_id
  105. *
  106. * @param integer $value
  107. * @return Notebook
  108. */
  109. public function set_user_id($value)
  110. {
  111. $this->user_id = $value;
  112. return $this;
  113. }
  114. /**
  115. * Get user_id
  116. *
  117. * @return integer
  118. */
  119. public function get_user_id()
  120. {
  121. return $this->user_id;
  122. }
  123. /**
  124. * Set course
  125. *
  126. * @param string $value
  127. * @return Notebook
  128. */
  129. public function set_course($value)
  130. {
  131. $this->course = $value;
  132. return $this;
  133. }
  134. /**
  135. * Get course
  136. *
  137. * @return string
  138. */
  139. public function get_course()
  140. {
  141. return $this->course;
  142. }
  143. /**
  144. * Set session_id
  145. *
  146. * @param integer $value
  147. * @return Notebook
  148. */
  149. public function set_session_id($value)
  150. {
  151. $this->session_id = $value;
  152. return $this;
  153. }
  154. /**
  155. * Get session_id
  156. *
  157. * @return integer
  158. */
  159. public function get_session_id()
  160. {
  161. return $this->session_id;
  162. }
  163. /**
  164. * Set title
  165. *
  166. * @param string $value
  167. * @return Notebook
  168. */
  169. public function set_title($value)
  170. {
  171. $this->title = $value;
  172. return $this;
  173. }
  174. /**
  175. * Get title
  176. *
  177. * @return string
  178. */
  179. public function get_title()
  180. {
  181. return $this->title;
  182. }
  183. /**
  184. * Set description
  185. *
  186. * @param text $value
  187. * @return Notebook
  188. */
  189. public function set_description($value)
  190. {
  191. $this->description = $value;
  192. return $this;
  193. }
  194. /**
  195. * Get description
  196. *
  197. * @return text
  198. */
  199. public function get_description()
  200. {
  201. return $this->description;
  202. }
  203. /**
  204. * Set creation_date
  205. *
  206. * @param datetime $value
  207. * @return Notebook
  208. */
  209. public function set_creation_date($value)
  210. {
  211. $this->creation_date = $value;
  212. return $this;
  213. }
  214. /**
  215. * Get creation_date
  216. *
  217. * @return datetime
  218. */
  219. public function get_creation_date()
  220. {
  221. return $this->creation_date;
  222. }
  223. /**
  224. * Set update_date
  225. *
  226. * @param datetime $value
  227. * @return Notebook
  228. */
  229. public function set_update_date($value)
  230. {
  231. $this->update_date = $value;
  232. return $this;
  233. }
  234. /**
  235. * Get update_date
  236. *
  237. * @return datetime
  238. */
  239. public function get_update_date()
  240. {
  241. return $this->update_date;
  242. }
  243. /**
  244. * Set status
  245. *
  246. * @param integer $value
  247. * @return Notebook
  248. */
  249. public function set_status($value)
  250. {
  251. $this->status = $value;
  252. return $this;
  253. }
  254. /**
  255. * Get status
  256. *
  257. * @return integer
  258. */
  259. public function get_status()
  260. {
  261. return $this->status;
  262. }
  263. }