user_course_category.class.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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 UserCourseCategory extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\UserCourseCategoryRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\UserCourseCategoryRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\UserCourseCategory
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $id
  25. */
  26. protected $id;
  27. /**
  28. * @var integer $user_id
  29. */
  30. protected $user_id;
  31. /**
  32. * @var text $title
  33. */
  34. protected $title;
  35. /**
  36. * @var integer $sort
  37. */
  38. protected $sort;
  39. /**
  40. * Get id
  41. *
  42. * @return integer
  43. */
  44. public function get_id()
  45. {
  46. return $this->id;
  47. }
  48. /**
  49. * Set user_id
  50. *
  51. * @param integer $value
  52. * @return UserCourseCategory
  53. */
  54. public function set_user_id($value)
  55. {
  56. $this->user_id = $value;
  57. return $this;
  58. }
  59. /**
  60. * Get user_id
  61. *
  62. * @return integer
  63. */
  64. public function get_user_id()
  65. {
  66. return $this->user_id;
  67. }
  68. /**
  69. * Set title
  70. *
  71. * @param text $value
  72. * @return UserCourseCategory
  73. */
  74. public function set_title($value)
  75. {
  76. $this->title = $value;
  77. return $this;
  78. }
  79. /**
  80. * Get title
  81. *
  82. * @return text
  83. */
  84. public function get_title()
  85. {
  86. return $this->title;
  87. }
  88. /**
  89. * Set sort
  90. *
  91. * @param integer $value
  92. * @return UserCourseCategory
  93. */
  94. public function set_sort($value)
  95. {
  96. $this->sort = $value;
  97. return $this;
  98. }
  99. /**
  100. * Get sort
  101. *
  102. * @return integer
  103. */
  104. public function get_sort()
  105. {
  106. return $this->sort;
  107. }
  108. }