SharedProsperityUserEntity.php 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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 $consumerStocks = null; // 消费股
  11. public $withdrawalLimit = null; // 提现额度
  12. public $partnerLevel = null; // 合伙人等级
  13. public $points = null;
  14. public $createTime = null; // 创建时间
  15. public $updateTime = null; // 更新时间
  16. /**
  17. * @return mixed
  18. */
  19. public function getId()
  20. {
  21. return $this->id;
  22. }
  23. /**
  24. * @param mixed $id
  25. * @return SharedProsperityUserEntity
  26. */
  27. public function setId($id): SharedProsperityUserEntity
  28. {
  29. $this->id = $id;
  30. return $this;
  31. }
  32. /**
  33. * @return mixed
  34. */
  35. public function getUserId()
  36. {
  37. return $this->userId;
  38. }
  39. /**
  40. * @param mixed $userId
  41. * @return SharedProsperityUserEntity
  42. */
  43. public function setUserId($userId): SharedProsperityUserEntity
  44. {
  45. $this->userId = $userId;
  46. return $this;
  47. }
  48. /**
  49. * @return mixed
  50. */
  51. public function getParentId()
  52. {
  53. return $this->parentId;
  54. }
  55. /**
  56. * @param mixed $parentId
  57. * @return SharedProsperityUserEntity
  58. */
  59. public function setParentId($parentId): SharedProsperityUserEntity
  60. {
  61. $this->parentId = $parentId;
  62. return $this;
  63. }
  64. /**
  65. * @return mixed
  66. */
  67. public function getPv()
  68. {
  69. return $this->pv;
  70. }
  71. /**
  72. * @param mixed $pv
  73. * @return SharedProsperityUserEntity
  74. */
  75. public function setPv($pv): SharedProsperityUserEntity
  76. {
  77. $this->pv = $pv;
  78. return $this;
  79. }
  80. /**
  81. * @return mixed
  82. */
  83. public function getConsumerStocks()
  84. {
  85. return $this->consumerStocks;
  86. }
  87. /**
  88. * @param mixed $consumerStocks
  89. * @return SharedProsperityUserEntity
  90. */
  91. public function setConsumerStocks($consumerStocks): SharedProsperityUserEntity
  92. {
  93. $this->consumerStocks = $consumerStocks;
  94. return $this;
  95. }
  96. /**
  97. * @return mixed
  98. */
  99. public function getWithdrawalLimit()
  100. {
  101. return $this->withdrawalLimit;
  102. }
  103. /**
  104. * @param mixed $withdrawalLimit
  105. * @return SharedProsperityUserEntity
  106. */
  107. public function setWithdrawalLimit($withdrawalLimit): SharedProsperityUserEntity
  108. {
  109. $this->withdrawalLimit = $withdrawalLimit;
  110. return $this;
  111. }
  112. /**
  113. * @return mixed
  114. */
  115. public function getPartnerLevel()
  116. {
  117. return $this->partnerLevel;
  118. }
  119. /**
  120. * @param mixed $partnerLevel
  121. * @return SharedProsperityUserEntity
  122. */
  123. public function setPartnerLevel($partnerLevel): SharedProsperityUserEntity
  124. {
  125. $this->partnerLevel = $partnerLevel;
  126. return $this;
  127. }
  128. public function getPoints()
  129. {
  130. return $this->points;
  131. }
  132. public function setPoints($points): SharedProsperityUserEntity
  133. {
  134. $this->points = $points;
  135. return $this;
  136. }
  137. /**
  138. * @return mixed
  139. */
  140. public function getCreateTime()
  141. {
  142. return $this->createTime;
  143. }
  144. /**
  145. * @param mixed $createTime
  146. * @return SharedProsperityUserEntity
  147. */
  148. public function setCreateTime($createTime): SharedProsperityUserEntity
  149. {
  150. $this->createTime = $createTime;
  151. return $this;
  152. }
  153. /**
  154. * @return mixed
  155. */
  156. public function getUpdateTime()
  157. {
  158. return $this->updateTime;
  159. }
  160. /**
  161. * @param mixed $updateTime
  162. * @return SharedProsperityUserEntity
  163. */
  164. public function setUpdateTime($updateTime): SharedProsperityUserEntity
  165. {
  166. $this->updateTime = $updateTime;
  167. return $this;
  168. }
  169. }