role_group.class.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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 RoleGroup extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\RoleGroupRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\RoleGroupRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\RoleGroup
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $id
  25. */
  26. protected $id;
  27. /**
  28. * @var integer $c_id
  29. */
  30. protected $c_id;
  31. /**
  32. * @var integer $group_id
  33. */
  34. protected $group_id;
  35. /**
  36. * @var integer $role_id
  37. */
  38. protected $role_id;
  39. /**
  40. * @var string $scope
  41. */
  42. protected $scope;
  43. /**
  44. * Set id
  45. *
  46. * @param integer $value
  47. * @return RoleGroup
  48. */
  49. public function set_id($value)
  50. {
  51. $this->id = $value;
  52. return $this;
  53. }
  54. /**
  55. * Get id
  56. *
  57. * @return integer
  58. */
  59. public function get_id()
  60. {
  61. return $this->id;
  62. }
  63. /**
  64. * Set c_id
  65. *
  66. * @param integer $value
  67. * @return RoleGroup
  68. */
  69. public function set_c_id($value)
  70. {
  71. $this->c_id = $value;
  72. return $this;
  73. }
  74. /**
  75. * Get c_id
  76. *
  77. * @return integer
  78. */
  79. public function get_c_id()
  80. {
  81. return $this->c_id;
  82. }
  83. /**
  84. * Set group_id
  85. *
  86. * @param integer $value
  87. * @return RoleGroup
  88. */
  89. public function set_group_id($value)
  90. {
  91. $this->group_id = $value;
  92. return $this;
  93. }
  94. /**
  95. * Get group_id
  96. *
  97. * @return integer
  98. */
  99. public function get_group_id()
  100. {
  101. return $this->group_id;
  102. }
  103. /**
  104. * Set role_id
  105. *
  106. * @param integer $value
  107. * @return RoleGroup
  108. */
  109. public function set_role_id($value)
  110. {
  111. $this->role_id = $value;
  112. return $this;
  113. }
  114. /**
  115. * Get role_id
  116. *
  117. * @return integer
  118. */
  119. public function get_role_id()
  120. {
  121. return $this->role_id;
  122. }
  123. /**
  124. * Set scope
  125. *
  126. * @param string $value
  127. * @return RoleGroup
  128. */
  129. public function set_scope($value)
  130. {
  131. $this->scope = $value;
  132. return $this;
  133. }
  134. /**
  135. * Get scope
  136. *
  137. * @return string
  138. */
  139. public function get_scope()
  140. {
  141. return $this->scope;
  142. }
  143. }