usergroup_rel_session.class.php 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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 UsergroupRelSession extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\UsergroupRelSessionRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\UsergroupRelSessionRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\UsergroupRelSession
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $id
  25. */
  26. protected $id;
  27. /**
  28. * @var integer $usergroup_id
  29. */
  30. protected $usergroup_id;
  31. /**
  32. * @var integer $session_id
  33. */
  34. protected $session_id;
  35. /**
  36. * Get id
  37. *
  38. * @return integer
  39. */
  40. public function get_id()
  41. {
  42. return $this->id;
  43. }
  44. /**
  45. * Set usergroup_id
  46. *
  47. * @param integer $value
  48. * @return UsergroupRelSession
  49. */
  50. public function set_usergroup_id($value)
  51. {
  52. $this->usergroup_id = $value;
  53. return $this;
  54. }
  55. /**
  56. * Get usergroup_id
  57. *
  58. * @return integer
  59. */
  60. public function get_usergroup_id()
  61. {
  62. return $this->usergroup_id;
  63. }
  64. /**
  65. * Set session_id
  66. *
  67. * @param integer $value
  68. * @return UsergroupRelSession
  69. */
  70. public function set_session_id($value)
  71. {
  72. $this->session_id = $value;
  73. return $this;
  74. }
  75. /**
  76. * Get session_id
  77. *
  78. * @return integer
  79. */
  80. public function get_session_id()
  81. {
  82. return $this->session_id;
  83. }
  84. }