SharedProsperityUserEntity.php 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. <?php
  2. namespace app\entity\data\shared;
  3. use app\entity\data\DataEntity;
  4. class SharedProsperityUserEntity extends DataEntity
  5. {
  6. public $id = null; // 主键
  7. public $userId = null; // 用户id
  8. public $parentId = null; // 推荐人用户id
  9. public $pv = null; // pv
  10. public $teamPv = null; // 团队pv
  11. public $withdrawalLimit = null; // 提现额度
  12. public $partnerLevel = null; // 合伙人等级
  13. public $createTime = null; // 创建时间
  14. public $updateTime = null; // 更新时间
  15. /**
  16. * @return mixed
  17. */
  18. public function getId()
  19. {
  20. return $this->id;
  21. }
  22. /**
  23. * @param mixed $id
  24. * @return SharedProsperityUserEntity
  25. */
  26. public function setId($id): SharedProsperityUserEntity
  27. {
  28. $this->id = $id;
  29. return $this;
  30. }
  31. /**
  32. * @return mixed
  33. */
  34. public function getUserId()
  35. {
  36. return $this->userId;
  37. }
  38. /**
  39. * @param mixed $userId
  40. * @return SharedProsperityUserEntity
  41. */
  42. public function setUserId($userId): SharedProsperityUserEntity
  43. {
  44. $this->userId = $userId;
  45. return $this;
  46. }
  47. /**
  48. * @return mixed
  49. */
  50. public function getParentId()
  51. {
  52. return $this->parentId;
  53. }
  54. /**
  55. * @param mixed $parentId
  56. * @return SharedProsperityUserEntity
  57. */
  58. public function setParentId($parentId): SharedProsperityUserEntity
  59. {
  60. $this->parentId = $parentId;
  61. return $this;
  62. }
  63. /**
  64. * @return mixed
  65. */
  66. public function getPv()
  67. {
  68. return $this->pv;
  69. }
  70. /**
  71. * @param mixed $pv
  72. * @return SharedProsperityUserEntity
  73. */
  74. public function setPv($pv): SharedProsperityUserEntity
  75. {
  76. $this->pv = $pv;
  77. return $this;
  78. }
  79. /**
  80. * @return mixed
  81. */
  82. public function getTeamPv()
  83. {
  84. return $this->teamPv;
  85. }
  86. /**
  87. * @param mixed $teamPv
  88. * @return SharedProsperityUserEntity
  89. */
  90. public function setTeamPv($teamPv): SharedProsperityUserEntity
  91. {
  92. $this->teamPv = $teamPv;
  93. return $this;
  94. }
  95. /**
  96. * @return mixed
  97. */
  98. public function getWithdrawalLimit()
  99. {
  100. return $this->withdrawalLimit;
  101. }
  102. /**
  103. * @param mixed $withdrawalLimit
  104. * @return SharedProsperityUserEntity
  105. */
  106. public function setWithdrawalLimit($withdrawalLimit): SharedProsperityUserEntity
  107. {
  108. $this->withdrawalLimit = $withdrawalLimit;
  109. return $this;
  110. }
  111. /**
  112. * @return mixed
  113. */
  114. public function getPartnerLevel()
  115. {
  116. return $this->partnerLevel;
  117. }
  118. /**
  119. * @param mixed $partnerLevel
  120. * @return SharedProsperityUserEntity
  121. */
  122. public function setPartnerLevel($partnerLevel): SharedProsperityUserEntity
  123. {
  124. $this->partnerLevel = $partnerLevel;
  125. return $this;
  126. }
  127. /**
  128. * @return mixed
  129. */
  130. public function getCreateTime()
  131. {
  132. return $this->createTime;
  133. }
  134. /**
  135. * @param mixed $createTime
  136. * @return SharedProsperityUserEntity
  137. */
  138. public function setCreateTime($createTime): SharedProsperityUserEntity
  139. {
  140. $this->createTime = $createTime;
  141. return $this;
  142. }
  143. /**
  144. * @return mixed
  145. */
  146. public function getUpdateTime()
  147. {
  148. return $this->updateTime;
  149. }
  150. /**
  151. * @param mixed $updateTime
  152. * @return SharedProsperityUserEntity
  153. */
  154. public function setUpdateTime($updateTime): SharedProsperityUserEntity
  155. {
  156. $this->updateTime = $updateTime;
  157. return $this;
  158. }
  159. }