user_rel_user.class.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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 UserRelUser extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\UserRelUserRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\UserRelUserRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\UserRelUser
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var bigint $id
  25. */
  26. protected $id;
  27. /**
  28. * @var integer $user_id
  29. */
  30. protected $user_id;
  31. /**
  32. * @var integer $friend_user_id
  33. */
  34. protected $friend_user_id;
  35. /**
  36. * @var integer $relation_type
  37. */
  38. protected $relation_type;
  39. /**
  40. * @var datetime $last_edit
  41. */
  42. protected $last_edit;
  43. /**
  44. * Get id
  45. *
  46. * @return bigint
  47. */
  48. public function get_id()
  49. {
  50. return $this->id;
  51. }
  52. /**
  53. * Set user_id
  54. *
  55. * @param integer $value
  56. * @return UserRelUser
  57. */
  58. public function set_user_id($value)
  59. {
  60. $this->user_id = $value;
  61. return $this;
  62. }
  63. /**
  64. * Get user_id
  65. *
  66. * @return integer
  67. */
  68. public function get_user_id()
  69. {
  70. return $this->user_id;
  71. }
  72. /**
  73. * Set friend_user_id
  74. *
  75. * @param integer $value
  76. * @return UserRelUser
  77. */
  78. public function set_friend_user_id($value)
  79. {
  80. $this->friend_user_id = $value;
  81. return $this;
  82. }
  83. /**
  84. * Get friend_user_id
  85. *
  86. * @return integer
  87. */
  88. public function get_friend_user_id()
  89. {
  90. return $this->friend_user_id;
  91. }
  92. /**
  93. * Set relation_type
  94. *
  95. * @param integer $value
  96. * @return UserRelUser
  97. */
  98. public function set_relation_type($value)
  99. {
  100. $this->relation_type = $value;
  101. return $this;
  102. }
  103. /**
  104. * Get relation_type
  105. *
  106. * @return integer
  107. */
  108. public function get_relation_type()
  109. {
  110. return $this->relation_type;
  111. }
  112. /**
  113. * Set last_edit
  114. *
  115. * @param datetime $value
  116. * @return UserRelUser
  117. */
  118. public function set_last_edit($value)
  119. {
  120. $this->last_edit = $value;
  121. return $this;
  122. }
  123. /**
  124. * Get last_edit
  125. *
  126. * @return datetime
  127. */
  128. public function get_last_edit()
  129. {
  130. return $this->last_edit;
  131. }
  132. }