SharedProsperityUserEntity.php 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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 $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 getBalance()
  100. {
  101. return $this->balance;
  102. }
  103. /**
  104. * @param mixed $balance
  105. * @return SharedProsperityUserEntity
  106. */
  107. public function setBalance($balance): SharedProsperityUserEntity
  108. {
  109. $this->balance = $balance;
  110. return $this;
  111. }
  112. /**
  113. * @return mixed
  114. */
  115. public function getWithdrawalLimit()
  116. {
  117. return $this->withdrawalLimit;
  118. }
  119. /**
  120. * @param mixed $withdrawalLimit
  121. * @return SharedProsperityUserEntity
  122. */
  123. public function setWithdrawalLimit($withdrawalLimit): SharedProsperityUserEntity
  124. {
  125. $this->withdrawalLimit = $withdrawalLimit;
  126. return $this;
  127. }
  128. /**
  129. * @return mixed
  130. */
  131. public function getPartnerLevel()
  132. {
  133. return $this->partnerLevel;
  134. }
  135. /**
  136. * @param mixed $partnerLevel
  137. * @return SharedProsperityUserEntity
  138. */
  139. public function setPartnerLevel($partnerLevel): SharedProsperityUserEntity
  140. {
  141. $this->partnerLevel = $partnerLevel;
  142. return $this;
  143. }
  144. /**
  145. * @return mixed
  146. */
  147. public function getCreateTime()
  148. {
  149. return $this->createTime;
  150. }
  151. /**
  152. * @param mixed $createTime
  153. * @return SharedProsperityUserEntity
  154. */
  155. public function setCreateTime($createTime): SharedProsperityUserEntity
  156. {
  157. $this->createTime = $createTime;
  158. return $this;
  159. }
  160. /**
  161. * @return mixed
  162. */
  163. public function getUpdateTime()
  164. {
  165. return $this->updateTime;
  166. }
  167. /**
  168. * @param mixed $updateTime
  169. * @return SharedProsperityUserEntity
  170. */
  171. public function setUpdateTime($updateTime): SharedProsperityUserEntity
  172. {
  173. $this->updateTime = $updateTime;
  174. return $this;
  175. }
  176. }