| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200 |
- <?php
- namespace app\entity\data\user;
- use app\entity\data\DataEntity;
- class UserSignFenrunEntity extends DataEntity
- {
- public $id = 0; // 自增id
- public $uid = 0; // 会员id
- public $number = 0.00; // 数量
- public $status = 0; // 状态1已结算 0-已失效 -1未结算
- public $mark = ''; // 备注
- public $desc = ''; // 描述
- public $orderId = ''; // 订单id
- public $orderType = ''; // 订单类型。关联订单ID
- public $settlementTime = null; // 结算时间
- public $addtime = 0;
- /**
- * @return int
- */
- public function getId(): int
- {
- return $this->id;
- }
- /**
- * @param int $id
- * @return UserSignFenrunEntity
- */
- public function setId(int $id): UserSignFenrunEntity
- {
- $this->id = $id;
- return $this;
- }
- /**
- * @return int
- */
- public function getUid(): int
- {
- return $this->uid;
- }
- /**
- * @param int $uid
- * @return UserSignFenrunEntity
- */
- public function setUid(int $uid): UserSignFenrunEntity
- {
- $this->uid = $uid;
- return $this;
- }
- /**
- * @return float
- */
- public function getNumber(): float
- {
- return $this->number;
- }
- /**
- * @param float $number
- * @return UserSignFenrunEntity
- */
- public function setNumber(float $number): UserSignFenrunEntity
- {
- $this->number = $number;
- return $this;
- }
- /**
- * @return int
- */
- public function getStatus(): int
- {
- return $this->status;
- }
- /**
- * @param int $status
- * @return UserSignFenrunEntity
- */
- public function setStatus(int $status): UserSignFenrunEntity
- {
- $this->status = $status;
- return $this;
- }
- /**
- * @return string
- */
- public function getMark(): string
- {
- return $this->mark;
- }
- /**
- * @param string $mark
- * @return UserSignFenrunEntity
- */
- public function setMark(string $mark): UserSignFenrunEntity
- {
- $this->mark = $mark;
- return $this;
- }
- /**
- * @return string
- */
- public function getDesc(): string
- {
- return $this->desc;
- }
- /**
- * @param string $desc
- * @return UserSignFenrunEntity
- */
- public function setDesc(string $desc): UserSignFenrunEntity
- {
- $this->desc = $desc;
- return $this;
- }
- /**
- * @return string
- */
- public function getOrderId(): string
- {
- return $this->orderId;
- }
- /**
- * @param string $orderId
- * @return UserSignFenrunEntity
- */
- public function setOrderId(string $orderId): UserSignFenrunEntity
- {
- $this->orderId = $orderId;
- return $this;
- }
- /**
- * @return string
- */
- public function getOrderType(): string
- {
- return $this->orderType;
- }
- /**
- * @param string $orderType
- * @return UserSignFenrunEntity
- */
- public function setOrderType(string $orderType): UserSignFenrunEntity
- {
- $this->orderType = $orderType;
- return $this;
- }
- /**
- * @return mixed
- */
- public function getSettlementTime()
- {
- return $this->settlementTime;
- }
- /**
- * @param mixed $settlementTime
- * @return UserSignFenrunEntity
- */
- public function setSettlementTime($settlementTime): UserSignFenrunEntity
- {
- $this->settlementTime = $settlementTime;
- return $this;
- }
- /**
- * @return int
- */
- public function getAddtime(): int
- {
- return $this->addtime;
- }
- /**
- * @param int $addtime
- * @return UserSignFenrunEntity
- */
- public function setAddtime(int $addtime): UserSignFenrunEntity
- {
- $this->addtime = $addtime;
- return $this;
- } // 添加时间
- }
|