| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- <?php
- namespace app\entity\data\user;
- use app\entity\data\DataEntity;
- class UserPvLogEntity extends DataEntity
- {
- public $id = 0; // 自增id
- public $uid = 0; // 会员id
- public $pv = 0.00; // pv值
- public $status = 0; // pv状态: 1-有效 0-失效 -1待确认
- public $mark = ''; // 备注
- public $orderId = ''; // 订单id
- public $orderType = ''; // 订单类型
- public $settlementTime = null; // 结算时间
- public $addtime = 0; // 添加时间
- /**
- * @return int
- */
- public function getId(): int
- {
- return $this->id;
- }
- /**
- * @param int $id
- * @return UserPvLogEntity
- */
- public function setId(int $id): UserPvLogEntity
- {
- $this->id = $id;
- return $this;
- }
- /**
- * @return int
- */
- public function getUid(): int
- {
- return $this->uid;
- }
- /**
- * @param int $uid
- * @return UserPvLogEntity
- */
- public function setUid(int $uid): UserPvLogEntity
- {
- $this->uid = $uid;
- return $this;
- }
- /**
- * @return float
- */
- public function getPv(): float
- {
- return $this->pv;
- }
- /**
- * @param float $pv
- * @return UserPvLogEntity
- */
- public function setPv(float $pv): UserPvLogEntity
- {
- $this->pv = $pv;
- return $this;
- }
- /**
- * @return int
- */
- public function getStatus(): int
- {
- return $this->status;
- }
- /**
- * @param int $status
- * @return UserPvLogEntity
- */
- public function setStatus(int $status): UserPvLogEntity
- {
- $this->status = $status;
- return $this;
- }
- /**
- * @return string
- */
- public function getMark(): string
- {
- return $this->mark;
- }
- /**
- * @param string $mark
- * @return UserPvLogEntity
- */
- public function setMark(string $mark): UserPvLogEntity
- {
- $this->mark = $mark;
- return $this;
- }
- /**
- * @return string
- */
- public function getOrderId(): string
- {
- return $this->orderId;
- }
- /**
- * @param string $orderId
- * @return UserPvLogEntity
- */
- public function setOrderId(string $orderId): UserPvLogEntity
- {
- $this->orderId = $orderId;
- return $this;
- }
- /**
- * @return string
- */
- public function getOrderType(): string
- {
- return $this->orderType;
- }
- /**
- * @param string $orderType
- * @return UserPvLogEntity
- */
- public function setOrderType(string $orderType): UserPvLogEntity
- {
- $this->orderType = $orderType;
- return $this;
- }
- /**
- * @return null
- */
- public function getSettlementTime()
- {
- return $this->settlementTime;
- }
- /**
- * @param null $settlementTime
- * @return UserPvLogEntity
- */
- public function setSettlementTime($settlementTime)
- {
- $this->settlementTime = $settlementTime;
- return $this;
- }
- /**
- * @return int
- */
- public function getAddtime(): int
- {
- return $this->addtime;
- }
- /**
- * @param int $addtime
- * @return UserPvLogEntity
- */
- public function setAddtime(int $addtime): UserPvLogEntity
- {
- $this->addtime = $addtime;
- return $this;
- }
- }
|