| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 |
- <?php
- namespace app\entity\data\shared;
- use app\entity\data\DataEntity;
- class SharedProsperityUserEntity extends DataEntity
- {
- public $id = null; // 主键
- public $userId = null; // 用户id
- public $parentId = null; // 推荐人用户id
- public $pv = null; // pv
- public $consumerStocks = null; // 消费股
- public $balance = null; // 余额
- public $withdrawalLimit = null; // 提现额度
- public $partnerLevel = null; // 合伙人等级
- public $points = null;
- public $createTime = null; // 创建时间
- public $updateTime = null; // 更新时间
- /**
- * @return mixed
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * @param mixed $id
- * @return SharedProsperityUserEntity
- */
- public function setId($id): SharedProsperityUserEntity
- {
- $this->id = $id;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getUserId()
- {
- return $this->userId;
- }
- /**
- * @param mixed $userId
- * @return SharedProsperityUserEntity
- */
- public function setUserId($userId): SharedProsperityUserEntity
- {
- $this->userId = $userId;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getParentId()
- {
- return $this->parentId;
- }
- /**
- * @param mixed $parentId
- * @return SharedProsperityUserEntity
- */
- public function setParentId($parentId): SharedProsperityUserEntity
- {
- $this->parentId = $parentId;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getPv()
- {
- return $this->pv;
- }
- /**
- * @param mixed $pv
- * @return SharedProsperityUserEntity
- */
- public function setPv($pv): SharedProsperityUserEntity
- {
- $this->pv = $pv;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getConsumerStocks()
- {
- return $this->consumerStocks;
- }
- /**
- * @param mixed $consumerStocks
- * @return SharedProsperityUserEntity
- */
- public function setConsumerStocks($consumerStocks): SharedProsperityUserEntity
- {
- $this->consumerStocks = $consumerStocks;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getBalance()
- {
- return $this->balance;
- }
- /**
- * @param mixed $balance
- * @return SharedProsperityUserEntity
- */
- public function setBalance($balance): SharedProsperityUserEntity
- {
- $this->balance = $balance;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getWithdrawalLimit()
- {
- return $this->withdrawalLimit;
- }
- /**
- * @param mixed $withdrawalLimit
- * @return SharedProsperityUserEntity
- */
- public function setWithdrawalLimit($withdrawalLimit): SharedProsperityUserEntity
- {
- $this->withdrawalLimit = $withdrawalLimit;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getPartnerLevel()
- {
- return $this->partnerLevel;
- }
- /**
- * @param mixed $partnerLevel
- * @return SharedProsperityUserEntity
- */
- public function setPartnerLevel($partnerLevel): SharedProsperityUserEntity
- {
- $this->partnerLevel = $partnerLevel;
- return $this;
- }
- public function getPoints()
- {
- return $this->points;
- }
- public function setPoints($points): SharedProsperityUserEntity
- {
- $this->points = $points;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getCreateTime()
- {
- return $this->createTime;
- }
- /**
- * @param mixed $createTime
- * @return SharedProsperityUserEntity
- */
- public function setCreateTime($createTime): SharedProsperityUserEntity
- {
- $this->createTime = $createTime;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getUpdateTime()
- {
- return $this->updateTime;
- }
- /**
- * @param mixed $updateTime
- * @return SharedProsperityUserEntity
- */
- public function setUpdateTime($updateTime): SharedProsperityUserEntity
- {
- $this->updateTime = $updateTime;
- return $this;
- }
- }
|