blog_attachment.class.php 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  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 BlogAttachment extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\BlogAttachmentRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\BlogAttachmentRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\BlogAttachment
  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 $path
  33. */
  34. protected $path;
  35. /**
  36. * @var text $comment
  37. */
  38. protected $comment;
  39. /**
  40. * @var integer $size
  41. */
  42. protected $size;
  43. /**
  44. * @var integer $post_id
  45. */
  46. protected $post_id;
  47. /**
  48. * @var string $filename
  49. */
  50. protected $filename;
  51. /**
  52. * @var integer $blog_id
  53. */
  54. protected $blog_id;
  55. /**
  56. * @var integer $comment_id
  57. */
  58. protected $comment_id;
  59. /**
  60. * Set c_id
  61. *
  62. * @param integer $value
  63. * @return BlogAttachment
  64. */
  65. public function set_c_id($value)
  66. {
  67. $this->c_id = $value;
  68. return $this;
  69. }
  70. /**
  71. * Get c_id
  72. *
  73. * @return integer
  74. */
  75. public function get_c_id()
  76. {
  77. return $this->c_id;
  78. }
  79. /**
  80. * Set id
  81. *
  82. * @param integer $value
  83. * @return BlogAttachment
  84. */
  85. public function set_id($value)
  86. {
  87. $this->id = $value;
  88. return $this;
  89. }
  90. /**
  91. * Get id
  92. *
  93. * @return integer
  94. */
  95. public function get_id()
  96. {
  97. return $this->id;
  98. }
  99. /**
  100. * Set path
  101. *
  102. * @param string $value
  103. * @return BlogAttachment
  104. */
  105. public function set_path($value)
  106. {
  107. $this->path = $value;
  108. return $this;
  109. }
  110. /**
  111. * Get path
  112. *
  113. * @return string
  114. */
  115. public function get_path()
  116. {
  117. return $this->path;
  118. }
  119. /**
  120. * Set comment
  121. *
  122. * @param text $value
  123. * @return BlogAttachment
  124. */
  125. public function set_comment($value)
  126. {
  127. $this->comment = $value;
  128. return $this;
  129. }
  130. /**
  131. * Get comment
  132. *
  133. * @return text
  134. */
  135. public function get_comment()
  136. {
  137. return $this->comment;
  138. }
  139. /**
  140. * Set size
  141. *
  142. * @param integer $value
  143. * @return BlogAttachment
  144. */
  145. public function set_size($value)
  146. {
  147. $this->size = $value;
  148. return $this;
  149. }
  150. /**
  151. * Get size
  152. *
  153. * @return integer
  154. */
  155. public function get_size()
  156. {
  157. return $this->size;
  158. }
  159. /**
  160. * Set post_id
  161. *
  162. * @param integer $value
  163. * @return BlogAttachment
  164. */
  165. public function set_post_id($value)
  166. {
  167. $this->post_id = $value;
  168. return $this;
  169. }
  170. /**
  171. * Get post_id
  172. *
  173. * @return integer
  174. */
  175. public function get_post_id()
  176. {
  177. return $this->post_id;
  178. }
  179. /**
  180. * Set filename
  181. *
  182. * @param string $value
  183. * @return BlogAttachment
  184. */
  185. public function set_filename($value)
  186. {
  187. $this->filename = $value;
  188. return $this;
  189. }
  190. /**
  191. * Get filename
  192. *
  193. * @return string
  194. */
  195. public function get_filename()
  196. {
  197. return $this->filename;
  198. }
  199. /**
  200. * Set blog_id
  201. *
  202. * @param integer $value
  203. * @return BlogAttachment
  204. */
  205. public function set_blog_id($value)
  206. {
  207. $this->blog_id = $value;
  208. return $this;
  209. }
  210. /**
  211. * Get blog_id
  212. *
  213. * @return integer
  214. */
  215. public function get_blog_id()
  216. {
  217. return $this->blog_id;
  218. }
  219. /**
  220. * Set comment_id
  221. *
  222. * @param integer $value
  223. * @return BlogAttachment
  224. */
  225. public function set_comment_id($value)
  226. {
  227. $this->comment_id = $value;
  228. return $this;
  229. }
  230. /**
  231. * Get comment_id
  232. *
  233. * @return integer
  234. */
  235. public function get_comment_id()
  236. {
  237. return $this->comment_id;
  238. }
  239. }