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