UserSignJingdouEntity.php 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. <?php
  2. namespace app\entity\data\user;
  3. use app\entity\data\DataEntity;
  4. class UserSignJingdouEntity 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. /**
  20. * @return mixed
  21. */
  22. public function getId()
  23. {
  24. return $this->id;
  25. }
  26. /**
  27. * @param mixed $id
  28. * @return UserSignJingdouEntity
  29. */
  30. public function setId($id): UserSignJingdouEntity
  31. {
  32. $this->id = $id;
  33. return $this;
  34. }
  35. /**
  36. * @return mixed
  37. */
  38. public function getUid()
  39. {
  40. return $this->uid;
  41. }
  42. /**
  43. * @param mixed $uid
  44. * @return UserSignJingdouEntity
  45. */
  46. public function setUid($uid): UserSignJingdouEntity
  47. {
  48. $this->uid = $uid;
  49. return $this;
  50. }
  51. /**
  52. * @return mixed
  53. */
  54. public function getMerId()
  55. {
  56. return $this->merId;
  57. }
  58. /**
  59. * @param mixed $merId
  60. * @return UserSignJingdouEntity
  61. */
  62. public function setMerId($merId): UserSignJingdouEntity
  63. {
  64. $this->merId = $merId;
  65. return $this;
  66. }
  67. /**
  68. * @return mixed
  69. */
  70. public function getNumber()
  71. {
  72. return $this->number;
  73. }
  74. /**
  75. * @param mixed $number
  76. * @return UserSignJingdouEntity
  77. */
  78. public function setNumber($number): UserSignJingdouEntity
  79. {
  80. $this->number = $number;
  81. return $this;
  82. }
  83. /**
  84. * @return mixed
  85. */
  86. public function getStatus()
  87. {
  88. return $this->status;
  89. }
  90. /**
  91. * @param mixed $status
  92. * @return UserSignJingdouEntity
  93. */
  94. public function setStatus($status): UserSignJingdouEntity
  95. {
  96. $this->status = $status;
  97. return $this;
  98. }
  99. /**
  100. * @return mixed
  101. */
  102. public function getMark()
  103. {
  104. return $this->mark;
  105. }
  106. /**
  107. * @param mixed $mark
  108. * @return UserSignJingdouEntity
  109. */
  110. public function setMark($mark): UserSignJingdouEntity
  111. {
  112. $this->mark = $mark;
  113. return $this;
  114. }
  115. /**
  116. * @return mixed
  117. */
  118. public function getDesc()
  119. {
  120. return $this->desc;
  121. }
  122. /**
  123. * @param mixed $desc
  124. * @return UserSignJingdouEntity
  125. */
  126. public function setDesc($desc): UserSignJingdouEntity
  127. {
  128. $this->desc = $desc;
  129. return $this;
  130. }
  131. /**
  132. * @return mixed
  133. */
  134. public function getOrderId()
  135. {
  136. return $this->orderId;
  137. }
  138. /**
  139. * @param mixed $orderId
  140. * @return UserSignJingdouEntity
  141. */
  142. public function setOrderId($orderId): UserSignJingdouEntity
  143. {
  144. $this->orderId = $orderId;
  145. return $this;
  146. }
  147. /**
  148. * @return mixed
  149. */
  150. public function getSurplus()
  151. {
  152. return $this->surplus;
  153. }
  154. /**
  155. * @param mixed $surplus
  156. * @return UserSignJingdouEntity
  157. */
  158. public function setSurplus($surplus): UserSignJingdouEntity
  159. {
  160. $this->surplus = $surplus;
  161. return $this;
  162. }
  163. /**
  164. * @return mixed
  165. */
  166. public function getOrderType()
  167. {
  168. return $this->orderType;
  169. }
  170. /**
  171. * @param mixed $orderType
  172. * @return UserSignJingdouEntity
  173. */
  174. public function setOrderType($orderType): UserSignJingdouEntity
  175. {
  176. $this->orderType = $orderType;
  177. return $this;
  178. }
  179. /**
  180. * @return mixed
  181. */
  182. public function getType()
  183. {
  184. return $this->type;
  185. }
  186. /**
  187. * @param mixed $type
  188. * @return UserSignJingdouEntity
  189. */
  190. public function setType($type): UserSignJingdouEntity
  191. {
  192. $this->type = $type;
  193. return $this;
  194. }
  195. /**
  196. * @return mixed
  197. */
  198. public function getSettlementTime()
  199. {
  200. return $this->settlementTime;
  201. }
  202. /**
  203. * @param mixed $settlementTime
  204. * @return UserSignJingdouEntity
  205. */
  206. public function setSettlementTime($settlementTime): UserSignJingdouEntity
  207. {
  208. $this->settlementTime = $settlementTime;
  209. return $this;
  210. }
  211. /**
  212. * @return mixed
  213. */
  214. public function getAddtime()
  215. {
  216. return $this->addtime;
  217. }
  218. /**
  219. * @param mixed $addtime
  220. * @return UserSignJingdouEntity
  221. */
  222. public function setAddtime($addtime): UserSignJingdouEntity
  223. {
  224. $this->addtime = $addtime;
  225. return $this;
  226. }
  227. }