UserSignVrEntity.php 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. <?php
  2. namespace app\entity\data\user;
  3. use app\entity\data\DataEntity;
  4. class UserSignVrEntity extends DataEntity
  5. {
  6. public $id = null; // 自增id
  7. public $uid = null; // 会员id
  8. public $number = null; // 赠送数量
  9. public $mark = null; // 备注
  10. public $desc = null; // 描述
  11. public $orderId = null; // 订单id
  12. public $surplus = null; // 剩余
  13. public $orderType = null; // 订单类型。关联订单ID
  14. public $type = null; // vr类型 :1兑换,2消耗
  15. public $settlementTime = null; // 结算时间
  16. public $addtime = null; // 添加时间
  17. /**
  18. * @return mixed
  19. */
  20. public function getId()
  21. {
  22. return $this->id;
  23. }
  24. /**
  25. * @param mixed $id
  26. * @return UserSignVrEntity
  27. */
  28. public function setId($id): UserSignVrEntity
  29. {
  30. $this->id = $id;
  31. return $this;
  32. }
  33. /**
  34. * @return mixed
  35. */
  36. public function getUid()
  37. {
  38. return $this->uid;
  39. }
  40. /**
  41. * @param mixed $uid
  42. * @return UserSignVrEntity
  43. */
  44. public function setUid($uid): UserSignVrEntity
  45. {
  46. $this->uid = $uid;
  47. return $this;
  48. }
  49. /**
  50. * @return mixed
  51. */
  52. public function getNumber()
  53. {
  54. return $this->number;
  55. }
  56. /**
  57. * @param mixed $number
  58. * @return UserSignVrEntity
  59. */
  60. public function setNumber($number): UserSignVrEntity
  61. {
  62. $this->number = $number;
  63. return $this;
  64. }
  65. /**
  66. * @return mixed
  67. */
  68. public function getMark()
  69. {
  70. return $this->mark;
  71. }
  72. /**
  73. * @param mixed $mark
  74. * @return UserSignVrEntity
  75. */
  76. public function setMark($mark): UserSignVrEntity
  77. {
  78. $this->mark = $mark;
  79. return $this;
  80. }
  81. /**
  82. * @return mixed
  83. */
  84. public function getDesc()
  85. {
  86. return $this->desc;
  87. }
  88. /**
  89. * @param mixed $desc
  90. * @return UserSignVrEntity
  91. */
  92. public function setDesc($desc): UserSignVrEntity
  93. {
  94. $this->desc = $desc;
  95. return $this;
  96. }
  97. /**
  98. * @return mixed
  99. */
  100. public function getOrderId()
  101. {
  102. return $this->orderId;
  103. }
  104. /**
  105. * @param mixed $orderId
  106. * @return UserSignVrEntity
  107. */
  108. public function setOrderId($orderId): UserSignVrEntity
  109. {
  110. $this->orderId = $orderId;
  111. return $this;
  112. }
  113. /**
  114. * @return mixed
  115. */
  116. public function getSurplus()
  117. {
  118. return $this->surplus;
  119. }
  120. /**
  121. * @param mixed $surplus
  122. * @return UserSignVrEntity
  123. */
  124. public function setSurplus($surplus): UserSignVrEntity
  125. {
  126. $this->surplus = $surplus;
  127. return $this;
  128. }
  129. /**
  130. * @return mixed
  131. */
  132. public function getOrderType()
  133. {
  134. return $this->orderType;
  135. }
  136. /**
  137. * @param mixed $orderType
  138. * @return UserSignVrEntity
  139. */
  140. public function setOrderType($orderType): UserSignVrEntity
  141. {
  142. $this->orderType = $orderType;
  143. return $this;
  144. }
  145. /**
  146. * @return mixed
  147. */
  148. public function getType()
  149. {
  150. return $this->type;
  151. }
  152. /**
  153. * @param mixed $type
  154. * @return UserSignVrEntity
  155. */
  156. public function setType($type): UserSignVrEntity
  157. {
  158. $this->type = $type;
  159. return $this;
  160. }
  161. /**
  162. * @return mixed
  163. */
  164. public function getSettlementTime()
  165. {
  166. return $this->settlementTime;
  167. }
  168. /**
  169. * @param mixed $settlementTime
  170. * @return UserSignVrEntity
  171. */
  172. public function setSettlementTime($settlementTime): UserSignVrEntity
  173. {
  174. $this->settlementTime = $settlementTime;
  175. return $this;
  176. }
  177. /**
  178. * @return mixed
  179. */
  180. public function getAddtime()
  181. {
  182. return $this->addtime;
  183. }
  184. /**
  185. * @param mixed $addtime
  186. * @return UserSignVrEntity
  187. */
  188. public function setAddtime($addtime): UserSignVrEntity
  189. {
  190. $this->addtime = $addtime;
  191. return $this;
  192. }
  193. }