UserSignScoreEntity.php 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. <?php
  2. namespace app\entity\data\user;
  3. use app\entity\data\DataEntity;
  4. class UserSignScoreEntity extends DataEntity
  5. {
  6. public $id = null; // 自增id
  7. public $uid = null; // 会员id
  8. public $continuityDay = null; // 连续签到几天
  9. public $rewardSocre = null; // 赠送积分数量
  10. public $signinTime = null; // 签到时间
  11. public $sourceUid = null; // 赠送积分来源用户id
  12. public $status = null; // 积分状态1-有效 0-失效 -1待确认
  13. public $mark = null; // 备注
  14. public $orderId = null; // 订单id
  15. public $pm = null; // 1-收入。2-支出
  16. public $surplus = null; // 剩余
  17. public $orderType = null; // 订单类型。关联订单ID
  18. public $addtime = null; // 添加时间
  19. public $sourceType = null; // 积分类型:1签到,2分享好友注册赠送,3自己下单赠送,4,好友下单赠送,5.购买产品消耗
  20. public $settlementTime = null; // 结算时间
  21. /**
  22. * @return mixed
  23. */
  24. public function getId()
  25. {
  26. return $this->id;
  27. }
  28. /**
  29. * @param mixed $id
  30. * @return UserSignScoreEntity
  31. */
  32. public function setId($id): UserSignScoreEntity
  33. {
  34. $this->id = $id;
  35. return $this;
  36. }
  37. /**
  38. * @return mixed
  39. */
  40. public function getUid()
  41. {
  42. return $this->uid;
  43. }
  44. /**
  45. * @param mixed $uid
  46. * @return UserSignScoreEntity
  47. */
  48. public function setUid($uid): UserSignScoreEntity
  49. {
  50. $this->uid = $uid;
  51. return $this;
  52. }
  53. /**
  54. * @return mixed
  55. */
  56. public function getContinuityDay()
  57. {
  58. return $this->continuityDay;
  59. }
  60. /**
  61. * @param mixed $continuityDay
  62. * @return UserSignScoreEntity
  63. */
  64. public function setContinuityDay($continuityDay): UserSignScoreEntity
  65. {
  66. $this->continuityDay = $continuityDay;
  67. return $this;
  68. }
  69. /**
  70. * @return mixed
  71. */
  72. public function getRewardSocre()
  73. {
  74. return $this->rewardSocre;
  75. }
  76. /**
  77. * @param mixed $rewardSocre
  78. * @return UserSignScoreEntity
  79. */
  80. public function setRewardSocre($rewardSocre): UserSignScoreEntity
  81. {
  82. $this->rewardSocre = $rewardSocre;
  83. return $this;
  84. }
  85. /**
  86. * @return mixed
  87. */
  88. public function getSigninTime()
  89. {
  90. return $this->signinTime;
  91. }
  92. /**
  93. * @param mixed $signinTime
  94. * @return UserSignScoreEntity
  95. */
  96. public function setSigninTime($signinTime): UserSignScoreEntity
  97. {
  98. $this->signinTime = $signinTime;
  99. return $this;
  100. }
  101. /**
  102. * @return mixed
  103. */
  104. public function getSourceUid()
  105. {
  106. return $this->sourceUid;
  107. }
  108. /**
  109. * @param mixed $sourceUid
  110. * @return UserSignScoreEntity
  111. */
  112. public function setSourceUid($sourceUid): UserSignScoreEntity
  113. {
  114. $this->sourceUid = $sourceUid;
  115. return $this;
  116. }
  117. /**
  118. * @return mixed
  119. */
  120. public function getStatus()
  121. {
  122. return $this->status;
  123. }
  124. /**
  125. * @param mixed $status
  126. * @return UserSignScoreEntity
  127. */
  128. public function setStatus($status): UserSignScoreEntity
  129. {
  130. $this->status = $status;
  131. return $this;
  132. }
  133. /**
  134. * @return mixed
  135. */
  136. public function getMark()
  137. {
  138. return $this->mark;
  139. }
  140. /**
  141. * @param mixed $mark
  142. * @return UserSignScoreEntity
  143. */
  144. public function setMark($mark): UserSignScoreEntity
  145. {
  146. $this->mark = $mark;
  147. return $this;
  148. }
  149. /**
  150. * @return mixed
  151. */
  152. public function getOrderId()
  153. {
  154. return $this->orderId;
  155. }
  156. /**
  157. * @param mixed $orderId
  158. * @return UserSignScoreEntity
  159. */
  160. public function setOrderId($orderId): UserSignScoreEntity
  161. {
  162. $this->orderId = $orderId;
  163. return $this;
  164. }
  165. /**
  166. * @return mixed
  167. */
  168. public function getPm()
  169. {
  170. return $this->pm;
  171. }
  172. /**
  173. * @param mixed $pm
  174. * @return UserSignScoreEntity
  175. */
  176. public function setPm($pm): UserSignScoreEntity
  177. {
  178. $this->pm = $pm;
  179. return $this;
  180. }
  181. /**
  182. * @return mixed
  183. */
  184. public function getSurplus()
  185. {
  186. return $this->surplus;
  187. }
  188. /**
  189. * @param mixed $surplus
  190. * @return UserSignScoreEntity
  191. */
  192. public function setSurplus($surplus): UserSignScoreEntity
  193. {
  194. $this->surplus = $surplus;
  195. return $this;
  196. }
  197. /**
  198. * @return mixed
  199. */
  200. public function getOrderType()
  201. {
  202. return $this->orderType;
  203. }
  204. /**
  205. * @param mixed $orderType
  206. * @return UserSignScoreEntity
  207. */
  208. public function setOrderType($orderType): UserSignScoreEntity
  209. {
  210. $this->orderType = $orderType;
  211. return $this;
  212. }
  213. /**
  214. * @return mixed
  215. */
  216. public function getAddtime()
  217. {
  218. return $this->addtime;
  219. }
  220. /**
  221. * @param mixed $addtime
  222. * @return UserSignScoreEntity
  223. */
  224. public function setAddtime($addtime): UserSignScoreEntity
  225. {
  226. $this->addtime = $addtime;
  227. return $this;
  228. }
  229. /**
  230. * @return mixed
  231. */
  232. public function getSourceType()
  233. {
  234. return $this->sourceType;
  235. }
  236. /**
  237. * @param mixed $sourceType
  238. * @return UserSignScoreEntity
  239. */
  240. public function setSourceType($sourceType): UserSignScoreEntity
  241. {
  242. $this->sourceType = $sourceType;
  243. return $this;
  244. }
  245. /**
  246. * @return mixed
  247. */
  248. public function getSettlementTime()
  249. {
  250. return $this->settlementTime;
  251. }
  252. /**
  253. * @param mixed $settlementTime
  254. * @return UserSignScoreEntity
  255. */
  256. public function setSettlementTime($settlementTime): UserSignScoreEntity
  257. {
  258. $this->settlementTime = $settlementTime;
  259. return $this;
  260. }
  261. }