link_category.class.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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 LinkCategory extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\LinkCategoryRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\LinkCategoryRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\LinkCategory
  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 $category_title
  33. */
  34. protected $category_title;
  35. /**
  36. * @var text $description
  37. */
  38. protected $description;
  39. /**
  40. * @var integer $display_order
  41. */
  42. protected $display_order;
  43. /**
  44. * @var integer $session_id
  45. */
  46. protected $session_id;
  47. /**
  48. * Set c_id
  49. *
  50. * @param integer $value
  51. * @return LinkCategory
  52. */
  53. public function set_c_id($value)
  54. {
  55. $this->c_id = $value;
  56. return $this;
  57. }
  58. /**
  59. * Get c_id
  60. *
  61. * @return integer
  62. */
  63. public function get_c_id()
  64. {
  65. return $this->c_id;
  66. }
  67. /**
  68. * Set id
  69. *
  70. * @param integer $value
  71. * @return LinkCategory
  72. */
  73. public function set_id($value)
  74. {
  75. $this->id = $value;
  76. return $this;
  77. }
  78. /**
  79. * Get id
  80. *
  81. * @return integer
  82. */
  83. public function get_id()
  84. {
  85. return $this->id;
  86. }
  87. /**
  88. * Set category_title
  89. *
  90. * @param string $value
  91. * @return LinkCategory
  92. */
  93. public function set_category_title($value)
  94. {
  95. $this->category_title = $value;
  96. return $this;
  97. }
  98. /**
  99. * Get category_title
  100. *
  101. * @return string
  102. */
  103. public function get_category_title()
  104. {
  105. return $this->category_title;
  106. }
  107. /**
  108. * Set description
  109. *
  110. * @param text $value
  111. * @return LinkCategory
  112. */
  113. public function set_description($value)
  114. {
  115. $this->description = $value;
  116. return $this;
  117. }
  118. /**
  119. * Get description
  120. *
  121. * @return text
  122. */
  123. public function get_description()
  124. {
  125. return $this->description;
  126. }
  127. /**
  128. * Set display_order
  129. *
  130. * @param integer $value
  131. * @return LinkCategory
  132. */
  133. public function set_display_order($value)
  134. {
  135. $this->display_order = $value;
  136. return $this;
  137. }
  138. /**
  139. * Get display_order
  140. *
  141. * @return integer
  142. */
  143. public function get_display_order()
  144. {
  145. return $this->display_order;
  146. }
  147. /**
  148. * Set session_id
  149. *
  150. * @param integer $value
  151. * @return LinkCategory
  152. */
  153. public function set_session_id($value)
  154. {
  155. $this->session_id = $value;
  156. return $this;
  157. }
  158. /**
  159. * Get session_id
  160. *
  161. * @return integer
  162. */
  163. public function get_session_id()
  164. {
  165. return $this->session_id;
  166. }
  167. }