tool_intro.class.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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 ToolIntro extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\ToolIntroRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\ToolIntroRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\ToolIntro
  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 string $id
  29. */
  30. protected $id;
  31. /**
  32. * @var integer $session_id
  33. */
  34. protected $session_id;
  35. /**
  36. * @var text $intro_text
  37. */
  38. protected $intro_text;
  39. /**
  40. * Set c_id
  41. *
  42. * @param integer $value
  43. * @return ToolIntro
  44. */
  45. public function set_c_id($value)
  46. {
  47. $this->c_id = $value;
  48. return $this;
  49. }
  50. /**
  51. * Get c_id
  52. *
  53. * @return integer
  54. */
  55. public function get_c_id()
  56. {
  57. return $this->c_id;
  58. }
  59. /**
  60. * Set id
  61. *
  62. * @param string $value
  63. * @return ToolIntro
  64. */
  65. public function set_id($value)
  66. {
  67. $this->id = $value;
  68. return $this;
  69. }
  70. /**
  71. * Get id
  72. *
  73. * @return string
  74. */
  75. public function get_id()
  76. {
  77. return $this->id;
  78. }
  79. /**
  80. * Set session_id
  81. *
  82. * @param integer $value
  83. * @return ToolIntro
  84. */
  85. public function set_session_id($value)
  86. {
  87. $this->session_id = $value;
  88. return $this;
  89. }
  90. /**
  91. * Get session_id
  92. *
  93. * @return integer
  94. */
  95. public function get_session_id()
  96. {
  97. return $this->session_id;
  98. }
  99. /**
  100. * Set intro_text
  101. *
  102. * @param text $value
  103. * @return ToolIntro
  104. */
  105. public function set_intro_text($value)
  106. {
  107. $this->intro_text = $value;
  108. return $this;
  109. }
  110. /**
  111. * Get intro_text
  112. *
  113. * @return text
  114. */
  115. public function get_intro_text()
  116. {
  117. return $this->intro_text;
  118. }
  119. }