blog_task.class.php 3.3 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 BlogTask extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\BlogTaskRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\BlogTaskRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\BlogTask
  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 $task_id
  29. */
  30. protected $task_id;
  31. /**
  32. * @var integer $blog_id
  33. */
  34. protected $blog_id;
  35. /**
  36. * @var string $title
  37. */
  38. protected $title;
  39. /**
  40. * @var text $description
  41. */
  42. protected $description;
  43. /**
  44. * @var string $color
  45. */
  46. protected $color;
  47. /**
  48. * @var boolean $system_task
  49. */
  50. protected $system_task;
  51. /**
  52. * Set c_id
  53. *
  54. * @param integer $value
  55. * @return BlogTask
  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 task_id
  73. *
  74. * @param integer $value
  75. * @return BlogTask
  76. */
  77. public function set_task_id($value)
  78. {
  79. $this->task_id = $value;
  80. return $this;
  81. }
  82. /**
  83. * Get task_id
  84. *
  85. * @return integer
  86. */
  87. public function get_task_id()
  88. {
  89. return $this->task_id;
  90. }
  91. /**
  92. * Set blog_id
  93. *
  94. * @param integer $value
  95. * @return BlogTask
  96. */
  97. public function set_blog_id($value)
  98. {
  99. $this->blog_id = $value;
  100. return $this;
  101. }
  102. /**
  103. * Get blog_id
  104. *
  105. * @return integer
  106. */
  107. public function get_blog_id()
  108. {
  109. return $this->blog_id;
  110. }
  111. /**
  112. * Set title
  113. *
  114. * @param string $value
  115. * @return BlogTask
  116. */
  117. public function set_title($value)
  118. {
  119. $this->title = $value;
  120. return $this;
  121. }
  122. /**
  123. * Get title
  124. *
  125. * @return string
  126. */
  127. public function get_title()
  128. {
  129. return $this->title;
  130. }
  131. /**
  132. * Set description
  133. *
  134. * @param text $value
  135. * @return BlogTask
  136. */
  137. public function set_description($value)
  138. {
  139. $this->description = $value;
  140. return $this;
  141. }
  142. /**
  143. * Get description
  144. *
  145. * @return text
  146. */
  147. public function get_description()
  148. {
  149. return $this->description;
  150. }
  151. /**
  152. * Set color
  153. *
  154. * @param string $value
  155. * @return BlogTask
  156. */
  157. public function set_color($value)
  158. {
  159. $this->color = $value;
  160. return $this;
  161. }
  162. /**
  163. * Get color
  164. *
  165. * @return string
  166. */
  167. public function get_color()
  168. {
  169. return $this->color;
  170. }
  171. /**
  172. * Set system_task
  173. *
  174. * @param boolean $value
  175. * @return BlogTask
  176. */
  177. public function set_system_task($value)
  178. {
  179. $this->system_task = $value;
  180. return $this;
  181. }
  182. /**
  183. * Get system_task
  184. *
  185. * @return boolean
  186. */
  187. public function get_system_task()
  188. {
  189. return $this->system_task;
  190. }
  191. }