UserSignGongxianEntity.php 5.2 KB

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