| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295 |
- <?php
- namespace app\entity\data\user;
- use app\entity\data\DataEntity;
- class UserSignScoreEntity extends DataEntity
- {
- public $id = null; // 自增id
- public $uid = null; // 会员id
- public $continuityDay = null; // 连续签到几天
- public $rewardSocre = null; // 赠送积分数量
- public $signinTime = null; // 签到时间
- public $sourceUid = null; // 赠送积分来源用户id
- public $status = null; // 积分状态1-有效 0-失效 -1待确认
- public $mark = null; // 备注
- public $orderId = null; // 订单id
- public $pm = null; // 1-收入。2-支出
- public $surplus = null; // 剩余
- public $orderType = null; // 订单类型。关联订单ID
- public $addtime = null; // 添加时间
- public $sourceType = null; // 积分类型:1签到,2分享好友注册赠送,3自己下单赠送,4,好友下单赠送,5.购买产品消耗
- public $settlementTime = null; // 结算时间
- /**
- * @return mixed
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * @param mixed $id
- * @return UserSignScoreEntity
- */
- public function setId($id): UserSignScoreEntity
- {
- $this->id = $id;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getUid()
- {
- return $this->uid;
- }
- /**
- * @param mixed $uid
- * @return UserSignScoreEntity
- */
- public function setUid($uid): UserSignScoreEntity
- {
- $this->uid = $uid;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getContinuityDay()
- {
- return $this->continuityDay;
- }
- /**
- * @param mixed $continuityDay
- * @return UserSignScoreEntity
- */
- public function setContinuityDay($continuityDay): UserSignScoreEntity
- {
- $this->continuityDay = $continuityDay;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getRewardSocre()
- {
- return $this->rewardSocre;
- }
- /**
- * @param mixed $rewardSocre
- * @return UserSignScoreEntity
- */
- public function setRewardSocre($rewardSocre): UserSignScoreEntity
- {
- $this->rewardSocre = $rewardSocre;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getSigninTime()
- {
- return $this->signinTime;
- }
- /**
- * @param mixed $signinTime
- * @return UserSignScoreEntity
- */
- public function setSigninTime($signinTime): UserSignScoreEntity
- {
- $this->signinTime = $signinTime;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getSourceUid()
- {
- return $this->sourceUid;
- }
- /**
- * @param mixed $sourceUid
- * @return UserSignScoreEntity
- */
- public function setSourceUid($sourceUid): UserSignScoreEntity
- {
- $this->sourceUid = $sourceUid;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getStatus()
- {
- return $this->status;
- }
- /**
- * @param mixed $status
- * @return UserSignScoreEntity
- */
- public function setStatus($status): UserSignScoreEntity
- {
- $this->status = $status;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getMark()
- {
- return $this->mark;
- }
- /**
- * @param mixed $mark
- * @return UserSignScoreEntity
- */
- public function setMark($mark): UserSignScoreEntity
- {
- $this->mark = $mark;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getOrderId()
- {
- return $this->orderId;
- }
- /**
- * @param mixed $orderId
- * @return UserSignScoreEntity
- */
- public function setOrderId($orderId): UserSignScoreEntity
- {
- $this->orderId = $orderId;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getPm()
- {
- return $this->pm;
- }
- /**
- * @param mixed $pm
- * @return UserSignScoreEntity
- */
- public function setPm($pm): UserSignScoreEntity
- {
- $this->pm = $pm;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getSurplus()
- {
- return $this->surplus;
- }
- /**
- * @param mixed $surplus
- * @return UserSignScoreEntity
- */
- public function setSurplus($surplus): UserSignScoreEntity
- {
- $this->surplus = $surplus;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getOrderType()
- {
- return $this->orderType;
- }
- /**
- * @param mixed $orderType
- * @return UserSignScoreEntity
- */
- public function setOrderType($orderType): UserSignScoreEntity
- {
- $this->orderType = $orderType;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getAddtime()
- {
- return $this->addtime;
- }
- /**
- * @param mixed $addtime
- * @return UserSignScoreEntity
- */
- public function setAddtime($addtime): UserSignScoreEntity
- {
- $this->addtime = $addtime;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getSourceType()
- {
- return $this->sourceType;
- }
- /**
- * @param mixed $sourceType
- * @return UserSignScoreEntity
- */
- public function setSourceType($sourceType): UserSignScoreEntity
- {
- $this->sourceType = $sourceType;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getSettlementTime()
- {
- return $this->settlementTime;
- }
- /**
- * @param mixed $settlementTime
- * @return UserSignScoreEntity
- */
- public function setSettlementTime($settlementTime): UserSignScoreEntity
- {
- $this->settlementTime = $settlementTime;
- return $this;
- }
- }
|