dropbox_file.class.php 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  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 DropboxFile extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\DropboxFileRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\DropboxFileRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\DropboxFile
  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 integer $uploader_id
  33. */
  34. protected $uploader_id;
  35. /**
  36. * @var string $filename
  37. */
  38. protected $filename;
  39. /**
  40. * @var integer $filesize
  41. */
  42. protected $filesize;
  43. /**
  44. * @var string $title
  45. */
  46. protected $title;
  47. /**
  48. * @var string $description
  49. */
  50. protected $description;
  51. /**
  52. * @var string $author
  53. */
  54. protected $author;
  55. /**
  56. * @var datetime $upload_date
  57. */
  58. protected $upload_date;
  59. /**
  60. * @var datetime $last_upload_date
  61. */
  62. protected $last_upload_date;
  63. /**
  64. * @var integer $cat_id
  65. */
  66. protected $cat_id;
  67. /**
  68. * @var integer $session_id
  69. */
  70. protected $session_id;
  71. /**
  72. * Set c_id
  73. *
  74. * @param integer $value
  75. * @return DropboxFile
  76. */
  77. public function set_c_id($value)
  78. {
  79. $this->c_id = $value;
  80. return $this;
  81. }
  82. /**
  83. * Get c_id
  84. *
  85. * @return integer
  86. */
  87. public function get_c_id()
  88. {
  89. return $this->c_id;
  90. }
  91. /**
  92. * Set id
  93. *
  94. * @param integer $value
  95. * @return DropboxFile
  96. */
  97. public function set_id($value)
  98. {
  99. $this->id = $value;
  100. return $this;
  101. }
  102. /**
  103. * Get id
  104. *
  105. * @return integer
  106. */
  107. public function get_id()
  108. {
  109. return $this->id;
  110. }
  111. /**
  112. * Set uploader_id
  113. *
  114. * @param integer $value
  115. * @return DropboxFile
  116. */
  117. public function set_uploader_id($value)
  118. {
  119. $this->uploader_id = $value;
  120. return $this;
  121. }
  122. /**
  123. * Get uploader_id
  124. *
  125. * @return integer
  126. */
  127. public function get_uploader_id()
  128. {
  129. return $this->uploader_id;
  130. }
  131. /**
  132. * Set filename
  133. *
  134. * @param string $value
  135. * @return DropboxFile
  136. */
  137. public function set_filename($value)
  138. {
  139. $this->filename = $value;
  140. return $this;
  141. }
  142. /**
  143. * Get filename
  144. *
  145. * @return string
  146. */
  147. public function get_filename()
  148. {
  149. return $this->filename;
  150. }
  151. /**
  152. * Set filesize
  153. *
  154. * @param integer $value
  155. * @return DropboxFile
  156. */
  157. public function set_filesize($value)
  158. {
  159. $this->filesize = $value;
  160. return $this;
  161. }
  162. /**
  163. * Get filesize
  164. *
  165. * @return integer
  166. */
  167. public function get_filesize()
  168. {
  169. return $this->filesize;
  170. }
  171. /**
  172. * Set title
  173. *
  174. * @param string $value
  175. * @return DropboxFile
  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 string $value
  195. * @return DropboxFile
  196. */
  197. public function set_description($value)
  198. {
  199. $this->description = $value;
  200. return $this;
  201. }
  202. /**
  203. * Get description
  204. *
  205. * @return string
  206. */
  207. public function get_description()
  208. {
  209. return $this->description;
  210. }
  211. /**
  212. * Set author
  213. *
  214. * @param string $value
  215. * @return DropboxFile
  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 upload_date
  233. *
  234. * @param datetime $value
  235. * @return DropboxFile
  236. */
  237. public function set_upload_date($value)
  238. {
  239. $this->upload_date = $value;
  240. return $this;
  241. }
  242. /**
  243. * Get upload_date
  244. *
  245. * @return datetime
  246. */
  247. public function get_upload_date()
  248. {
  249. return $this->upload_date;
  250. }
  251. /**
  252. * Set last_upload_date
  253. *
  254. * @param datetime $value
  255. * @return DropboxFile
  256. */
  257. public function set_last_upload_date($value)
  258. {
  259. $this->last_upload_date = $value;
  260. return $this;
  261. }
  262. /**
  263. * Get last_upload_date
  264. *
  265. * @return datetime
  266. */
  267. public function get_last_upload_date()
  268. {
  269. return $this->last_upload_date;
  270. }
  271. /**
  272. * Set cat_id
  273. *
  274. * @param integer $value
  275. * @return DropboxFile
  276. */
  277. public function set_cat_id($value)
  278. {
  279. $this->cat_id = $value;
  280. return $this;
  281. }
  282. /**
  283. * Get cat_id
  284. *
  285. * @return integer
  286. */
  287. public function get_cat_id()
  288. {
  289. return $this->cat_id;
  290. }
  291. /**
  292. * Set session_id
  293. *
  294. * @param integer $value
  295. * @return DropboxFile
  296. */
  297. public function set_session_id($value)
  298. {
  299. $this->session_id = $value;
  300. return $this;
  301. }
  302. /**
  303. * Get session_id
  304. *
  305. * @return integer
  306. */
  307. public function get_session_id()
  308. {
  309. return $this->session_id;
  310. }
  311. }