EntityCCourseSetting.php 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. <?php
  2. use Doctrine\ORM\Mapping as ORM;
  3. /**
  4. * EntityCCourseSetting
  5. *
  6. * @Table(name="c_course_setting")
  7. * @Entity
  8. */
  9. class EntityCCourseSetting
  10. {
  11. /**
  12. * @var integer
  13. *
  14. * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  15. * @Id
  16. * @GeneratedValue(strategy="NONE")
  17. */
  18. private $cId;
  19. /**
  20. * @var integer
  21. *
  22. * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  23. * @Id
  24. * @GeneratedValue(strategy="NONE")
  25. */
  26. private $id;
  27. /**
  28. * @var string
  29. *
  30. * @Column(name="variable", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  31. */
  32. private $variable;
  33. /**
  34. * @var string
  35. *
  36. * @Column(name="subkey", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
  37. */
  38. private $subkey;
  39. /**
  40. * @var string
  41. *
  42. * @Column(name="type", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
  43. */
  44. private $type;
  45. /**
  46. * @var string
  47. *
  48. * @Column(name="category", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
  49. */
  50. private $category;
  51. /**
  52. * @var string
  53. *
  54. * @Column(name="value", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  55. */
  56. private $value;
  57. /**
  58. * @var string
  59. *
  60. * @Column(name="title", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  61. */
  62. private $title;
  63. /**
  64. * @var string
  65. *
  66. * @Column(name="comment", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
  67. */
  68. private $comment;
  69. /**
  70. * @var string
  71. *
  72. * @Column(name="subkeytext", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
  73. */
  74. private $subkeytext;
  75. /**
  76. * Set cId
  77. *
  78. * @param integer $cId
  79. * @return EntityCCourseSetting
  80. */
  81. public function setCId($cId)
  82. {
  83. $this->cId = $cId;
  84. return $this;
  85. }
  86. /**
  87. * Get cId
  88. *
  89. * @return integer
  90. */
  91. public function getCId()
  92. {
  93. return $this->cId;
  94. }
  95. /**
  96. * Set id
  97. *
  98. * @param integer $id
  99. * @return EntityCCourseSetting
  100. */
  101. public function setId($id)
  102. {
  103. $this->id = $id;
  104. return $this;
  105. }
  106. /**
  107. * Get id
  108. *
  109. * @return integer
  110. */
  111. public function getId()
  112. {
  113. return $this->id;
  114. }
  115. /**
  116. * Set variable
  117. *
  118. * @param string $variable
  119. * @return EntityCCourseSetting
  120. */
  121. public function setVariable($variable)
  122. {
  123. $this->variable = $variable;
  124. return $this;
  125. }
  126. /**
  127. * Get variable
  128. *
  129. * @return string
  130. */
  131. public function getVariable()
  132. {
  133. return $this->variable;
  134. }
  135. /**
  136. * Set subkey
  137. *
  138. * @param string $subkey
  139. * @return EntityCCourseSetting
  140. */
  141. public function setSubkey($subkey)
  142. {
  143. $this->subkey = $subkey;
  144. return $this;
  145. }
  146. /**
  147. * Get subkey
  148. *
  149. * @return string
  150. */
  151. public function getSubkey()
  152. {
  153. return $this->subkey;
  154. }
  155. /**
  156. * Set type
  157. *
  158. * @param string $type
  159. * @return EntityCCourseSetting
  160. */
  161. public function setType($type)
  162. {
  163. $this->type = $type;
  164. return $this;
  165. }
  166. /**
  167. * Get type
  168. *
  169. * @return string
  170. */
  171. public function getType()
  172. {
  173. return $this->type;
  174. }
  175. /**
  176. * Set category
  177. *
  178. * @param string $category
  179. * @return EntityCCourseSetting
  180. */
  181. public function setCategory($category)
  182. {
  183. $this->category = $category;
  184. return $this;
  185. }
  186. /**
  187. * Get category
  188. *
  189. * @return string
  190. */
  191. public function getCategory()
  192. {
  193. return $this->category;
  194. }
  195. /**
  196. * Set value
  197. *
  198. * @param string $value
  199. * @return EntityCCourseSetting
  200. */
  201. public function setValue($value)
  202. {
  203. $this->value = $value;
  204. return $this;
  205. }
  206. /**
  207. * Get value
  208. *
  209. * @return string
  210. */
  211. public function getValue()
  212. {
  213. return $this->value;
  214. }
  215. /**
  216. * Set title
  217. *
  218. * @param string $title
  219. * @return EntityCCourseSetting
  220. */
  221. public function setTitle($title)
  222. {
  223. $this->title = $title;
  224. return $this;
  225. }
  226. /**
  227. * Get title
  228. *
  229. * @return string
  230. */
  231. public function getTitle()
  232. {
  233. return $this->title;
  234. }
  235. /**
  236. * Set comment
  237. *
  238. * @param string $comment
  239. * @return EntityCCourseSetting
  240. */
  241. public function setComment($comment)
  242. {
  243. $this->comment = $comment;
  244. return $this;
  245. }
  246. /**
  247. * Get comment
  248. *
  249. * @return string
  250. */
  251. public function getComment()
  252. {
  253. return $this->comment;
  254. }
  255. /**
  256. * Set subkeytext
  257. *
  258. * @param string $subkeytext
  259. * @return EntityCCourseSetting
  260. */
  261. public function setSubkeytext($subkeytext)
  262. {
  263. $this->subkeytext = $subkeytext;
  264. return $this;
  265. }
  266. /**
  267. * Get subkeytext
  268. *
  269. * @return string
  270. */
  271. public function getSubkeytext()
  272. {
  273. return $this->subkeytext;
  274. }
  275. }