EntityCDropboxFile.php 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  1. <?php
  2. use Doctrine\ORM\Mapping as ORM;
  3. /**
  4. * EntityCDropboxFile
  5. *
  6. * @Table(name="c_dropbox_file")
  7. * @Entity
  8. */
  9. class EntityCDropboxFile
  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 integer
  29. *
  30. * @Column(name="uploader_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  31. */
  32. private $uploaderId;
  33. /**
  34. * @var string
  35. *
  36. * @Column(name="filename", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
  37. */
  38. private $filename;
  39. /**
  40. * @var integer
  41. *
  42. * @Column(name="filesize", type="integer", precision=0, scale=0, nullable=false, unique=false)
  43. */
  44. private $filesize;
  45. /**
  46. * @var string
  47. *
  48. * @Column(name="title", type="string", length=250, precision=0, scale=0, nullable=true, unique=false)
  49. */
  50. private $title;
  51. /**
  52. * @var string
  53. *
  54. * @Column(name="description", type="string", length=250, precision=0, scale=0, nullable=true, unique=false)
  55. */
  56. private $description;
  57. /**
  58. * @var string
  59. *
  60. * @Column(name="author", type="string", length=250, precision=0, scale=0, nullable=true, unique=false)
  61. */
  62. private $author;
  63. /**
  64. * @var \DateTime
  65. *
  66. * @Column(name="upload_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
  67. */
  68. private $uploadDate;
  69. /**
  70. * @var \DateTime
  71. *
  72. * @Column(name="last_upload_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
  73. */
  74. private $lastUploadDate;
  75. /**
  76. * @var integer
  77. *
  78. * @Column(name="cat_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  79. */
  80. private $catId;
  81. /**
  82. * @var integer
  83. *
  84. * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  85. */
  86. private $sessionId;
  87. /**
  88. * Set cId
  89. *
  90. * @param integer $cId
  91. * @return EntityCDropboxFile
  92. */
  93. public function setCId($cId)
  94. {
  95. $this->cId = $cId;
  96. return $this;
  97. }
  98. /**
  99. * Get cId
  100. *
  101. * @return integer
  102. */
  103. public function getCId()
  104. {
  105. return $this->cId;
  106. }
  107. /**
  108. * Set id
  109. *
  110. * @param integer $id
  111. * @return EntityCDropboxFile
  112. */
  113. public function setId($id)
  114. {
  115. $this->id = $id;
  116. return $this;
  117. }
  118. /**
  119. * Get id
  120. *
  121. * @return integer
  122. */
  123. public function getId()
  124. {
  125. return $this->id;
  126. }
  127. /**
  128. * Set uploaderId
  129. *
  130. * @param integer $uploaderId
  131. * @return EntityCDropboxFile
  132. */
  133. public function setUploaderId($uploaderId)
  134. {
  135. $this->uploaderId = $uploaderId;
  136. return $this;
  137. }
  138. /**
  139. * Get uploaderId
  140. *
  141. * @return integer
  142. */
  143. public function getUploaderId()
  144. {
  145. return $this->uploaderId;
  146. }
  147. /**
  148. * Set filename
  149. *
  150. * @param string $filename
  151. * @return EntityCDropboxFile
  152. */
  153. public function setFilename($filename)
  154. {
  155. $this->filename = $filename;
  156. return $this;
  157. }
  158. /**
  159. * Get filename
  160. *
  161. * @return string
  162. */
  163. public function getFilename()
  164. {
  165. return $this->filename;
  166. }
  167. /**
  168. * Set filesize
  169. *
  170. * @param integer $filesize
  171. * @return EntityCDropboxFile
  172. */
  173. public function setFilesize($filesize)
  174. {
  175. $this->filesize = $filesize;
  176. return $this;
  177. }
  178. /**
  179. * Get filesize
  180. *
  181. * @return integer
  182. */
  183. public function getFilesize()
  184. {
  185. return $this->filesize;
  186. }
  187. /**
  188. * Set title
  189. *
  190. * @param string $title
  191. * @return EntityCDropboxFile
  192. */
  193. public function setTitle($title)
  194. {
  195. $this->title = $title;
  196. return $this;
  197. }
  198. /**
  199. * Get title
  200. *
  201. * @return string
  202. */
  203. public function getTitle()
  204. {
  205. return $this->title;
  206. }
  207. /**
  208. * Set description
  209. *
  210. * @param string $description
  211. * @return EntityCDropboxFile
  212. */
  213. public function setDescription($description)
  214. {
  215. $this->description = $description;
  216. return $this;
  217. }
  218. /**
  219. * Get description
  220. *
  221. * @return string
  222. */
  223. public function getDescription()
  224. {
  225. return $this->description;
  226. }
  227. /**
  228. * Set author
  229. *
  230. * @param string $author
  231. * @return EntityCDropboxFile
  232. */
  233. public function setAuthor($author)
  234. {
  235. $this->author = $author;
  236. return $this;
  237. }
  238. /**
  239. * Get author
  240. *
  241. * @return string
  242. */
  243. public function getAuthor()
  244. {
  245. return $this->author;
  246. }
  247. /**
  248. * Set uploadDate
  249. *
  250. * @param \DateTime $uploadDate
  251. * @return EntityCDropboxFile
  252. */
  253. public function setUploadDate($uploadDate)
  254. {
  255. $this->uploadDate = $uploadDate;
  256. return $this;
  257. }
  258. /**
  259. * Get uploadDate
  260. *
  261. * @return \DateTime
  262. */
  263. public function getUploadDate()
  264. {
  265. return $this->uploadDate;
  266. }
  267. /**
  268. * Set lastUploadDate
  269. *
  270. * @param \DateTime $lastUploadDate
  271. * @return EntityCDropboxFile
  272. */
  273. public function setLastUploadDate($lastUploadDate)
  274. {
  275. $this->lastUploadDate = $lastUploadDate;
  276. return $this;
  277. }
  278. /**
  279. * Get lastUploadDate
  280. *
  281. * @return \DateTime
  282. */
  283. public function getLastUploadDate()
  284. {
  285. return $this->lastUploadDate;
  286. }
  287. /**
  288. * Set catId
  289. *
  290. * @param integer $catId
  291. * @return EntityCDropboxFile
  292. */
  293. public function setCatId($catId)
  294. {
  295. $this->catId = $catId;
  296. return $this;
  297. }
  298. /**
  299. * Get catId
  300. *
  301. * @return integer
  302. */
  303. public function getCatId()
  304. {
  305. return $this->catId;
  306. }
  307. /**
  308. * Set sessionId
  309. *
  310. * @param integer $sessionId
  311. * @return EntityCDropboxFile
  312. */
  313. public function setSessionId($sessionId)
  314. {
  315. $this->sessionId = $sessionId;
  316. return $this;
  317. }
  318. /**
  319. * Get sessionId
  320. *
  321. * @return integer
  322. */
  323. public function getSessionId()
  324. {
  325. return $this->sessionId;
  326. }
  327. }