role_user.class.php 2.0 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 RoleUser extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\RoleUserRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\RoleUserRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\RoleUser
  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 integer $role_id
  29. */
  30. protected $role_id;
  31. /**
  32. * @var integer $user_id
  33. */
  34. protected $user_id;
  35. /**
  36. * @var string $scope
  37. */
  38. protected $scope;
  39. /**
  40. * Set c_id
  41. *
  42. * @param integer $value
  43. * @return RoleUser
  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 role_id
  61. *
  62. * @param integer $value
  63. * @return RoleUser
  64. */
  65. public function set_role_id($value)
  66. {
  67. $this->role_id = $value;
  68. return $this;
  69. }
  70. /**
  71. * Get role_id
  72. *
  73. * @return integer
  74. */
  75. public function get_role_id()
  76. {
  77. return $this->role_id;
  78. }
  79. /**
  80. * Set user_id
  81. *
  82. * @param integer $value
  83. * @return RoleUser
  84. */
  85. public function set_user_id($value)
  86. {
  87. $this->user_id = $value;
  88. return $this;
  89. }
  90. /**
  91. * Get user_id
  92. *
  93. * @return integer
  94. */
  95. public function get_user_id()
  96. {
  97. return $this->user_id;
  98. }
  99. /**
  100. * Set scope
  101. *
  102. * @param string $value
  103. * @return RoleUser
  104. */
  105. public function set_scope($value)
  106. {
  107. $this->scope = $value;
  108. return $this;
  109. }
  110. /**
  111. * Get scope
  112. *
  113. * @return string
  114. */
  115. public function get_scope()
  116. {
  117. return $this->scope;
  118. }
  119. }