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