course_setting.class.php 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  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 CourseSetting extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\CourseSettingRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\CourseSettingRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\CourseSetting
  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 $variable
  33. */
  34. protected $variable;
  35. /**
  36. * @var string $subkey
  37. */
  38. protected $subkey;
  39. /**
  40. * @var string $type
  41. */
  42. protected $type;
  43. /**
  44. * @var string $category
  45. */
  46. protected $category;
  47. /**
  48. * @var string $value
  49. */
  50. protected $value;
  51. /**
  52. * @var string $title
  53. */
  54. protected $title;
  55. /**
  56. * @var string $comment
  57. */
  58. protected $comment;
  59. /**
  60. * @var string $subkeytext
  61. */
  62. protected $subkeytext;
  63. /**
  64. * Set c_id
  65. *
  66. * @param integer $value
  67. * @return CourseSetting
  68. */
  69. public function set_c_id($value)
  70. {
  71. $this->c_id = $value;
  72. return $this;
  73. }
  74. /**
  75. * Get c_id
  76. *
  77. * @return integer
  78. */
  79. public function get_c_id()
  80. {
  81. return $this->c_id;
  82. }
  83. /**
  84. * Set id
  85. *
  86. * @param integer $value
  87. * @return CourseSetting
  88. */
  89. public function set_id($value)
  90. {
  91. $this->id = $value;
  92. return $this;
  93. }
  94. /**
  95. * Get id
  96. *
  97. * @return integer
  98. */
  99. public function get_id()
  100. {
  101. return $this->id;
  102. }
  103. /**
  104. * Set variable
  105. *
  106. * @param string $value
  107. * @return CourseSetting
  108. */
  109. public function set_variable($value)
  110. {
  111. $this->variable = $value;
  112. return $this;
  113. }
  114. /**
  115. * Get variable
  116. *
  117. * @return string
  118. */
  119. public function get_variable()
  120. {
  121. return $this->variable;
  122. }
  123. /**
  124. * Set subkey
  125. *
  126. * @param string $value
  127. * @return CourseSetting
  128. */
  129. public function set_subkey($value)
  130. {
  131. $this->subkey = $value;
  132. return $this;
  133. }
  134. /**
  135. * Get subkey
  136. *
  137. * @return string
  138. */
  139. public function get_subkey()
  140. {
  141. return $this->subkey;
  142. }
  143. /**
  144. * Set type
  145. *
  146. * @param string $value
  147. * @return CourseSetting
  148. */
  149. public function set_type($value)
  150. {
  151. $this->type = $value;
  152. return $this;
  153. }
  154. /**
  155. * Get type
  156. *
  157. * @return string
  158. */
  159. public function get_type()
  160. {
  161. return $this->type;
  162. }
  163. /**
  164. * Set category
  165. *
  166. * @param string $value
  167. * @return CourseSetting
  168. */
  169. public function set_category($value)
  170. {
  171. $this->category = $value;
  172. return $this;
  173. }
  174. /**
  175. * Get category
  176. *
  177. * @return string
  178. */
  179. public function get_category()
  180. {
  181. return $this->category;
  182. }
  183. /**
  184. * Set value
  185. *
  186. * @param string $value
  187. * @return CourseSetting
  188. */
  189. public function set_value($value)
  190. {
  191. $this->value = $value;
  192. return $this;
  193. }
  194. /**
  195. * Get value
  196. *
  197. * @return string
  198. */
  199. public function get_value()
  200. {
  201. return $this->value;
  202. }
  203. /**
  204. * Set title
  205. *
  206. * @param string $value
  207. * @return CourseSetting
  208. */
  209. public function set_title($value)
  210. {
  211. $this->title = $value;
  212. return $this;
  213. }
  214. /**
  215. * Get title
  216. *
  217. * @return string
  218. */
  219. public function get_title()
  220. {
  221. return $this->title;
  222. }
  223. /**
  224. * Set comment
  225. *
  226. * @param string $value
  227. * @return CourseSetting
  228. */
  229. public function set_comment($value)
  230. {
  231. $this->comment = $value;
  232. return $this;
  233. }
  234. /**
  235. * Get comment
  236. *
  237. * @return string
  238. */
  239. public function get_comment()
  240. {
  241. return $this->comment;
  242. }
  243. /**
  244. * Set subkeytext
  245. *
  246. * @param string $value
  247. * @return CourseSetting
  248. */
  249. public function set_subkeytext($value)
  250. {
  251. $this->subkeytext = $value;
  252. return $this;
  253. }
  254. /**
  255. * Get subkeytext
  256. *
  257. * @return string
  258. */
  259. public function get_subkeytext()
  260. {
  261. return $this->subkeytext;
  262. }
  263. }