course_module.class.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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 CourseModule extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\CourseModuleRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\CourseModuleRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\CourseModule
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $id
  25. */
  26. protected $id;
  27. /**
  28. * @var string $name
  29. */
  30. protected $name;
  31. /**
  32. * @var string $link
  33. */
  34. protected $link;
  35. /**
  36. * @var string $image
  37. */
  38. protected $image;
  39. /**
  40. * @var integer $row
  41. */
  42. protected $row;
  43. /**
  44. * @var integer $column
  45. */
  46. protected $column;
  47. /**
  48. * @var string $position
  49. */
  50. protected $position;
  51. /**
  52. * Get id
  53. *
  54. * @return integer
  55. */
  56. public function get_id()
  57. {
  58. return $this->id;
  59. }
  60. /**
  61. * Set name
  62. *
  63. * @param string $value
  64. * @return CourseModule
  65. */
  66. public function set_name($value)
  67. {
  68. $this->name = $value;
  69. return $this;
  70. }
  71. /**
  72. * Get name
  73. *
  74. * @return string
  75. */
  76. public function get_name()
  77. {
  78. return $this->name;
  79. }
  80. /**
  81. * Set link
  82. *
  83. * @param string $value
  84. * @return CourseModule
  85. */
  86. public function set_link($value)
  87. {
  88. $this->link = $value;
  89. return $this;
  90. }
  91. /**
  92. * Get link
  93. *
  94. * @return string
  95. */
  96. public function get_link()
  97. {
  98. return $this->link;
  99. }
  100. /**
  101. * Set image
  102. *
  103. * @param string $value
  104. * @return CourseModule
  105. */
  106. public function set_image($value)
  107. {
  108. $this->image = $value;
  109. return $this;
  110. }
  111. /**
  112. * Get image
  113. *
  114. * @return string
  115. */
  116. public function get_image()
  117. {
  118. return $this->image;
  119. }
  120. /**
  121. * Set row
  122. *
  123. * @param integer $value
  124. * @return CourseModule
  125. */
  126. public function set_row($value)
  127. {
  128. $this->row = $value;
  129. return $this;
  130. }
  131. /**
  132. * Get row
  133. *
  134. * @return integer
  135. */
  136. public function get_row()
  137. {
  138. return $this->row;
  139. }
  140. /**
  141. * Set column
  142. *
  143. * @param integer $value
  144. * @return CourseModule
  145. */
  146. public function set_column($value)
  147. {
  148. $this->column = $value;
  149. return $this;
  150. }
  151. /**
  152. * Get column
  153. *
  154. * @return integer
  155. */
  156. public function get_column()
  157. {
  158. return $this->column;
  159. }
  160. /**
  161. * Set position
  162. *
  163. * @param string $value
  164. * @return CourseModule
  165. */
  166. public function set_position($value)
  167. {
  168. $this->position = $value;
  169. return $this;
  170. }
  171. /**
  172. * Get position
  173. *
  174. * @return string
  175. */
  176. public function get_position()
  177. {
  178. return $this->position;
  179. }
  180. }