UserPvLogEntity.php 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. <?php
  2. namespace app\entity\data\user;
  3. use app\entity\data\DataEntity;
  4. class UserPvLogEntity extends DataEntity
  5. {
  6. public $id = null; // 自增id
  7. public $uid = null; // 会员id
  8. public $pv = null; // pv值
  9. public $status = null; // pv状态1-有效 0-失效 -1待确认
  10. public $mark = null; // 备注
  11. public $order_id = null; // 订单id
  12. public $order_type = null; // 订单类型。关联订单ID
  13. public $settlement_time = null; // 结算时间
  14. public $addtime = null; // 添加时间
  15. /**
  16. * @return mixed
  17. */
  18. public function getId()
  19. {
  20. return $this->id;
  21. }
  22. /**
  23. * @param mixed $id
  24. * @return UserPvLogEntity
  25. */
  26. public function setId($id): UserPvLogEntity
  27. {
  28. $this->id = $id;
  29. return $this;
  30. }
  31. /**
  32. * @return mixed
  33. */
  34. public function getUid()
  35. {
  36. return $this->uid;
  37. }
  38. /**
  39. * @param mixed $uid
  40. * @return UserPvLogEntity
  41. */
  42. public function setUid($uid): UserPvLogEntity
  43. {
  44. $this->uid = $uid;
  45. return $this;
  46. }
  47. /**
  48. * @return mixed
  49. */
  50. public function getPv()
  51. {
  52. return $this->pv;
  53. }
  54. /**
  55. * @param mixed $pv
  56. * @return UserPvLogEntity
  57. */
  58. public function setPv($pv): UserPvLogEntity
  59. {
  60. $this->pv = $pv;
  61. return $this;
  62. }
  63. /**
  64. * @return mixed
  65. */
  66. public function getStatus()
  67. {
  68. return $this->status;
  69. }
  70. /**
  71. * @param mixed $status
  72. * @return UserPvLogEntity
  73. */
  74. public function setStatus($status): UserPvLogEntity
  75. {
  76. $this->status = $status;
  77. return $this;
  78. }
  79. /**
  80. * @return mixed
  81. */
  82. public function getMark()
  83. {
  84. return $this->mark;
  85. }
  86. /**
  87. * @param mixed $mark
  88. * @return UserPvLogEntity
  89. */
  90. public function setMark($mark): UserPvLogEntity
  91. {
  92. $this->mark = $mark;
  93. return $this;
  94. }
  95. /**
  96. * @return mixed
  97. */
  98. public function getOrderId()
  99. {
  100. return $this->order_id;
  101. }
  102. /**
  103. * @param mixed $order_id
  104. * @return UserPvLogEntity
  105. */
  106. public function setOrderId($order_id): UserPvLogEntity
  107. {
  108. $this->order_id = $order_id;
  109. return $this;
  110. }
  111. /**
  112. * @return mixed
  113. */
  114. public function getOrderType()
  115. {
  116. return $this->order_type;
  117. }
  118. /**
  119. * @param mixed $order_type
  120. * @return UserPvLogEntity
  121. */
  122. public function setOrderType($order_type): UserPvLogEntity
  123. {
  124. $this->order_type = $order_type;
  125. return $this;
  126. }
  127. /**
  128. * @return mixed
  129. */
  130. public function getSettlementTime()
  131. {
  132. return $this->settlement_time;
  133. }
  134. /**
  135. * @param mixed $settlement_time
  136. * @return UserPvLogEntity
  137. */
  138. public function setSettlementTime($settlement_time): UserPvLogEntity
  139. {
  140. $this->settlement_time = $settlement_time;
  141. return $this;
  142. }
  143. /**
  144. * @return mixed
  145. */
  146. public function getAddtime()
  147. {
  148. return $this->addtime;
  149. }
  150. /**
  151. * @param mixed $addtime
  152. * @return UserPvLogEntity
  153. */
  154. public function setAddtime($addtime): UserPvLogEntity
  155. {
  156. $this->addtime = $addtime;
  157. return $this;
  158. }
  159. }