SharedProsperityUserEntity.php 4.2 KB

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