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