UserWithdrawalLimitRecordEntity.php 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. <?php
  2. namespace app\entity\data\user;
  3. use app\entity\data\DataEntity;
  4. class UserWithdrawalLimitRecordEntity extends DataEntity
  5. {
  6. public $id = null; // 记录ID
  7. public $userId = null; // 用户ID
  8. public $pm = null; // 0 = 支出 1 = 获得
  9. public $number = null; // 明细数字
  10. public $balance = null; // 剩余
  11. public $status = null; // 0 = 待确定 1 = 有效 -1 = 无效
  12. public $typeShop = null; // 0平台1多多进宝2唯品会3苏宁易购4网易考拉5淘宝客6京东联盟7饿了么8线上9话费
  13. public $orderSn = null; // 订单号
  14. public $takeTime = null; // 结算时间
  15. public $remark = null; // 备注
  16. public $createTime = null; // 添加时间
  17. public $updateTime = null; // 更新时间
  18. /**
  19. * @return mixed
  20. */
  21. public function getId()
  22. {
  23. return $this->id;
  24. }
  25. /**
  26. * @param mixed $id
  27. * @return UserWithdrawalLimitRecordEntity
  28. */
  29. public function setId($id): UserWithdrawalLimitRecordEntity
  30. {
  31. $this->id = $id;
  32. return $this;
  33. }
  34. /**
  35. * @return mixed
  36. */
  37. public function getUserId()
  38. {
  39. return $this->userId;
  40. }
  41. /**
  42. * @param mixed $userId
  43. * @return UserWithdrawalLimitRecordEntity
  44. */
  45. public function setUserId($userId): UserWithdrawalLimitRecordEntity
  46. {
  47. $this->userId = $userId;
  48. return $this;
  49. }
  50. /**
  51. * @return mixed
  52. */
  53. public function getPm()
  54. {
  55. return $this->pm;
  56. }
  57. /**
  58. * @param mixed $pm
  59. * @return UserWithdrawalLimitRecordEntity
  60. */
  61. public function setPm($pm): UserWithdrawalLimitRecordEntity
  62. {
  63. $this->pm = $pm;
  64. return $this;
  65. }
  66. /**
  67. * @return mixed
  68. */
  69. public function getNumber()
  70. {
  71. return $this->number;
  72. }
  73. /**
  74. * @param mixed $number
  75. * @return UserWithdrawalLimitRecordEntity
  76. */
  77. public function setNumber($number): UserWithdrawalLimitRecordEntity
  78. {
  79. $this->number = $number;
  80. return $this;
  81. }
  82. /**
  83. * @return mixed
  84. */
  85. public function getBalance()
  86. {
  87. return $this->balance;
  88. }
  89. /**
  90. * @param mixed $balance
  91. * @return UserWithdrawalLimitRecordEntity
  92. */
  93. public function setBalance($balance): UserWithdrawalLimitRecordEntity
  94. {
  95. $this->balance = $balance;
  96. return $this;
  97. }
  98. /**
  99. * @return mixed
  100. */
  101. public function getStatus()
  102. {
  103. return $this->status;
  104. }
  105. /**
  106. * @param mixed $status
  107. * @return UserWithdrawalLimitRecordEntity
  108. */
  109. public function setStatus($status): UserWithdrawalLimitRecordEntity
  110. {
  111. $this->status = $status;
  112. return $this;
  113. }
  114. /**
  115. * @return mixed
  116. */
  117. public function getTypeShop()
  118. {
  119. return $this->typeShop;
  120. }
  121. /**
  122. * @param mixed $typeShop
  123. * @return UserWithdrawalLimitRecordEntity
  124. */
  125. public function setTypeShop($typeShop): UserWithdrawalLimitRecordEntity
  126. {
  127. $this->typeShop = $typeShop;
  128. return $this;
  129. }
  130. /**
  131. * @return mixed
  132. */
  133. public function getOrderSn()
  134. {
  135. return $this->orderSn;
  136. }
  137. /**
  138. * @param mixed $orderSn
  139. * @return UserWithdrawalLimitRecordEntity
  140. */
  141. public function setOrderSn($orderSn): UserWithdrawalLimitRecordEntity
  142. {
  143. $this->orderSn = $orderSn;
  144. return $this;
  145. }
  146. /**
  147. * @return mixed
  148. */
  149. public function getTakeTime()
  150. {
  151. return $this->takeTime;
  152. }
  153. /**
  154. * @param mixed $takeTime
  155. * @return UserWithdrawalLimitRecordEntity
  156. */
  157. public function setTakeTime($takeTime): UserWithdrawalLimitRecordEntity
  158. {
  159. $this->takeTime = $takeTime;
  160. return $this;
  161. }
  162. /**
  163. * @return mixed
  164. */
  165. public function getRemark()
  166. {
  167. return $this->remark;
  168. }
  169. /**
  170. * @param mixed $remark
  171. * @return UserWithdrawalLimitRecordEntity
  172. */
  173. public function setRemark($remark): UserWithdrawalLimitRecordEntity
  174. {
  175. $this->remark = $remark;
  176. return $this;
  177. }
  178. /**
  179. * @return mixed
  180. */
  181. public function getCreateTime()
  182. {
  183. return $this->createTime;
  184. }
  185. /**
  186. * @param mixed $createTime
  187. * @return UserWithdrawalLimitRecordEntity
  188. */
  189. public function setCreateTime($createTime): UserWithdrawalLimitRecordEntity
  190. {
  191. $this->createTime = $createTime;
  192. return $this;
  193. }
  194. /**
  195. * @return mixed
  196. */
  197. public function getUpdateTime()
  198. {
  199. return $this->updateTime;
  200. }
  201. /**
  202. * @param mixed $updateTime
  203. * @return UserWithdrawalLimitRecordEntity
  204. */
  205. public function setUpdateTime($updateTime): UserWithdrawalLimitRecordEntity
  206. {
  207. $this->updateTime = $updateTime;
  208. return $this;
  209. }
  210. }