session_rel_user.class.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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 SessionRelUser extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\SessionRelUserRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\SessionRelUserRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\SessionRelUser
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $id_session
  25. */
  26. protected $id_session;
  27. /**
  28. * @var integer $id_user
  29. */
  30. protected $id_user;
  31. /**
  32. * @var integer $relation_type
  33. */
  34. protected $relation_type;
  35. /**
  36. * Set id_session
  37. *
  38. * @param integer $value
  39. * @return SessionRelUser
  40. */
  41. public function set_id_session($value)
  42. {
  43. $this->id_session = $value;
  44. return $this;
  45. }
  46. /**
  47. * Get id_session
  48. *
  49. * @return integer
  50. */
  51. public function get_id_session()
  52. {
  53. return $this->id_session;
  54. }
  55. /**
  56. * Set id_user
  57. *
  58. * @param integer $value
  59. * @return SessionRelUser
  60. */
  61. public function set_id_user($value)
  62. {
  63. $this->id_user = $value;
  64. return $this;
  65. }
  66. /**
  67. * Get id_user
  68. *
  69. * @return integer
  70. */
  71. public function get_id_user()
  72. {
  73. return $this->id_user;
  74. }
  75. /**
  76. * Set relation_type
  77. *
  78. * @param integer $value
  79. * @return SessionRelUser
  80. */
  81. public function set_relation_type($value)
  82. {
  83. $this->relation_type = $value;
  84. return $this;
  85. }
  86. /**
  87. * Get relation_type
  88. *
  89. * @return integer
  90. */
  91. public function get_relation_type()
  92. {
  93. return $this->relation_type;
  94. }
  95. }