course_field.class.php 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  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 CourseField extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\CourseFieldRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\CourseFieldRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\CourseField
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $id
  25. */
  26. protected $id;
  27. /**
  28. * @var integer $field_type
  29. */
  30. protected $field_type;
  31. /**
  32. * @var string $field_variable
  33. */
  34. protected $field_variable;
  35. /**
  36. * @var string $field_display_text
  37. */
  38. protected $field_display_text;
  39. /**
  40. * @var text $field_default_value
  41. */
  42. protected $field_default_value;
  43. /**
  44. * @var integer $field_order
  45. */
  46. protected $field_order;
  47. /**
  48. * @var boolean $field_visible
  49. */
  50. protected $field_visible;
  51. /**
  52. * @var boolean $field_changeable
  53. */
  54. protected $field_changeable;
  55. /**
  56. * @var boolean $field_filter
  57. */
  58. protected $field_filter;
  59. /**
  60. * @var datetime $tms
  61. */
  62. protected $tms;
  63. /**
  64. * Get id
  65. *
  66. * @return integer
  67. */
  68. public function get_id()
  69. {
  70. return $this->id;
  71. }
  72. /**
  73. * Set field_type
  74. *
  75. * @param integer $value
  76. * @return CourseField
  77. */
  78. public function set_field_type($value)
  79. {
  80. $this->field_type = $value;
  81. return $this;
  82. }
  83. /**
  84. * Get field_type
  85. *
  86. * @return integer
  87. */
  88. public function get_field_type()
  89. {
  90. return $this->field_type;
  91. }
  92. /**
  93. * Set field_variable
  94. *
  95. * @param string $value
  96. * @return CourseField
  97. */
  98. public function set_field_variable($value)
  99. {
  100. $this->field_variable = $value;
  101. return $this;
  102. }
  103. /**
  104. * Get field_variable
  105. *
  106. * @return string
  107. */
  108. public function get_field_variable()
  109. {
  110. return $this->field_variable;
  111. }
  112. /**
  113. * Set field_display_text
  114. *
  115. * @param string $value
  116. * @return CourseField
  117. */
  118. public function set_field_display_text($value)
  119. {
  120. $this->field_display_text = $value;
  121. return $this;
  122. }
  123. /**
  124. * Get field_display_text
  125. *
  126. * @return string
  127. */
  128. public function get_field_display_text()
  129. {
  130. return $this->field_display_text;
  131. }
  132. /**
  133. * Set field_default_value
  134. *
  135. * @param text $value
  136. * @return CourseField
  137. */
  138. public function set_field_default_value($value)
  139. {
  140. $this->field_default_value = $value;
  141. return $this;
  142. }
  143. /**
  144. * Get field_default_value
  145. *
  146. * @return text
  147. */
  148. public function get_field_default_value()
  149. {
  150. return $this->field_default_value;
  151. }
  152. /**
  153. * Set field_order
  154. *
  155. * @param integer $value
  156. * @return CourseField
  157. */
  158. public function set_field_order($value)
  159. {
  160. $this->field_order = $value;
  161. return $this;
  162. }
  163. /**
  164. * Get field_order
  165. *
  166. * @return integer
  167. */
  168. public function get_field_order()
  169. {
  170. return $this->field_order;
  171. }
  172. /**
  173. * Set field_visible
  174. *
  175. * @param boolean $value
  176. * @return CourseField
  177. */
  178. public function set_field_visible($value)
  179. {
  180. $this->field_visible = $value;
  181. return $this;
  182. }
  183. /**
  184. * Get field_visible
  185. *
  186. * @return boolean
  187. */
  188. public function get_field_visible()
  189. {
  190. return $this->field_visible;
  191. }
  192. /**
  193. * Set field_changeable
  194. *
  195. * @param boolean $value
  196. * @return CourseField
  197. */
  198. public function set_field_changeable($value)
  199. {
  200. $this->field_changeable = $value;
  201. return $this;
  202. }
  203. /**
  204. * Get field_changeable
  205. *
  206. * @return boolean
  207. */
  208. public function get_field_changeable()
  209. {
  210. return $this->field_changeable;
  211. }
  212. /**
  213. * Set field_filter
  214. *
  215. * @param boolean $value
  216. * @return CourseField
  217. */
  218. public function set_field_filter($value)
  219. {
  220. $this->field_filter = $value;
  221. return $this;
  222. }
  223. /**
  224. * Get field_filter
  225. *
  226. * @return boolean
  227. */
  228. public function get_field_filter()
  229. {
  230. return $this->field_filter;
  231. }
  232. /**
  233. * Set tms
  234. *
  235. * @param datetime $value
  236. * @return CourseField
  237. */
  238. public function set_tms($value)
  239. {
  240. $this->tms = $value;
  241. return $this;
  242. }
  243. /**
  244. * Get tms
  245. *
  246. * @return datetime
  247. */
  248. public function get_tms()
  249. {
  250. return $this->tms;
  251. }
  252. }