announcement_attachment.class.php 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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 AnnouncementAttachment extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\AnnouncementAttachmentRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\AnnouncementAttachmentRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\AnnouncementAttachment
  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 $announcement_id
  45. */
  46. protected $announcement_id;
  47. /**
  48. * @var string $filename
  49. */
  50. protected $filename;
  51. /**
  52. * Set c_id
  53. *
  54. * @param integer $value
  55. * @return AnnouncementAttachment
  56. */
  57. public function set_c_id($value)
  58. {
  59. $this->c_id = $value;
  60. return $this;
  61. }
  62. /**
  63. * Get c_id
  64. *
  65. * @return integer
  66. */
  67. public function get_c_id()
  68. {
  69. return $this->c_id;
  70. }
  71. /**
  72. * Set id
  73. *
  74. * @param integer $value
  75. * @return AnnouncementAttachment
  76. */
  77. public function set_id($value)
  78. {
  79. $this->id = $value;
  80. return $this;
  81. }
  82. /**
  83. * Get id
  84. *
  85. * @return integer
  86. */
  87. public function get_id()
  88. {
  89. return $this->id;
  90. }
  91. /**
  92. * Set path
  93. *
  94. * @param string $value
  95. * @return AnnouncementAttachment
  96. */
  97. public function set_path($value)
  98. {
  99. $this->path = $value;
  100. return $this;
  101. }
  102. /**
  103. * Get path
  104. *
  105. * @return string
  106. */
  107. public function get_path()
  108. {
  109. return $this->path;
  110. }
  111. /**
  112. * Set comment
  113. *
  114. * @param text $value
  115. * @return AnnouncementAttachment
  116. */
  117. public function set_comment($value)
  118. {
  119. $this->comment = $value;
  120. return $this;
  121. }
  122. /**
  123. * Get comment
  124. *
  125. * @return text
  126. */
  127. public function get_comment()
  128. {
  129. return $this->comment;
  130. }
  131. /**
  132. * Set size
  133. *
  134. * @param integer $value
  135. * @return AnnouncementAttachment
  136. */
  137. public function set_size($value)
  138. {
  139. $this->size = $value;
  140. return $this;
  141. }
  142. /**
  143. * Get size
  144. *
  145. * @return integer
  146. */
  147. public function get_size()
  148. {
  149. return $this->size;
  150. }
  151. /**
  152. * Set announcement_id
  153. *
  154. * @param integer $value
  155. * @return AnnouncementAttachment
  156. */
  157. public function set_announcement_id($value)
  158. {
  159. $this->announcement_id = $value;
  160. return $this;
  161. }
  162. /**
  163. * Get announcement_id
  164. *
  165. * @return integer
  166. */
  167. public function get_announcement_id()
  168. {
  169. return $this->announcement_id;
  170. }
  171. /**
  172. * Set filename
  173. *
  174. * @param string $value
  175. * @return AnnouncementAttachment
  176. */
  177. public function set_filename($value)
  178. {
  179. $this->filename = $value;
  180. return $this;
  181. }
  182. /**
  183. * Get filename
  184. *
  185. * @return string
  186. */
  187. public function get_filename()
  188. {
  189. return $this->filename;
  190. }
  191. }