StoreGroupOrderEntity.php 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533
  1. <?php
  2. namespace app\entity\data\store;
  3. use app\entity\data\DataEntity;
  4. class StoreGroupOrderEntity extends DataEntity
  5. {
  6. public $groupOrderId = null; // 订单组id
  7. public $groupOrderSn = null; // 订单号
  8. public $uid = null; // 用户id
  9. public $totalPostage = null; // 邮费
  10. public $totalPrice = null; // 订单总额
  11. public $totalNum = null; // 商品数
  12. public $couponPrice = null; // 优惠金额
  13. public $realName = null; // 联系人
  14. public $userPhone = null; // 联系电话
  15. public $userAddress = null; // 收货地址
  16. public $payPrice = null; // 支付金额
  17. public $payPostage = null; // 支付邮费
  18. public $cost = null; // 成本价
  19. public $giveCouponIds = null; // 赠送优惠券
  20. public $paid = null; // 是否支付
  21. public $payTime = null; // 支付时间
  22. public $payType = null; // 支付方式
  23. public $createTime = null; // 创建时间
  24. public $isRemind = null; // 是否提醒
  25. public $isDel = null; // 是否删除
  26. public $rand = null; // 订单号随机数
  27. public $split = null; // 分账状态
  28. // public $serialNumber = null; // 首信易交易流水号
  29. public $testOrder = null; // 测试订单
  30. public $hfPayId = null; // 汇付订单id
  31. public $payWx = null; // 微信支付渠道后台设置
  32. public $fzonePaytype = null;
  33. /**
  34. * @return mixed
  35. */
  36. public function getGroupOrderId()
  37. {
  38. return $this->groupOrderId;
  39. }
  40. /**
  41. * @param mixed $groupOrderId
  42. * @return StoreGroupOrderEntity
  43. */
  44. public function setGroupOrderId($groupOrderId): StoreGroupOrderEntity
  45. {
  46. $this->groupOrderId = $groupOrderId;
  47. return $this;
  48. }
  49. /**
  50. * @return mixed
  51. */
  52. public function getGroupOrderSn()
  53. {
  54. return $this->groupOrderSn;
  55. }
  56. /**
  57. * @param mixed $groupOrderSn
  58. * @return StoreGroupOrderEntity
  59. */
  60. public function setGroupOrderSn($groupOrderSn): StoreGroupOrderEntity
  61. {
  62. $this->groupOrderSn = $groupOrderSn;
  63. return $this;
  64. }
  65. /**
  66. * @return mixed
  67. */
  68. public function getUid()
  69. {
  70. return $this->uid;
  71. }
  72. /**
  73. * @param mixed $uid
  74. * @return StoreGroupOrderEntity
  75. */
  76. public function setUid($uid): StoreGroupOrderEntity
  77. {
  78. $this->uid = $uid;
  79. return $this;
  80. }
  81. /**
  82. * @return mixed
  83. */
  84. public function getTotalPostage()
  85. {
  86. return $this->totalPostage;
  87. }
  88. /**
  89. * @param mixed $totalPostage
  90. * @return StoreGroupOrderEntity
  91. */
  92. public function setTotalPostage($totalPostage): StoreGroupOrderEntity
  93. {
  94. $this->totalPostage = $totalPostage;
  95. return $this;
  96. }
  97. /**
  98. * @return mixed
  99. */
  100. public function getTotalPrice()
  101. {
  102. return $this->totalPrice;
  103. }
  104. /**
  105. * @param mixed $totalPrice
  106. * @return StoreGroupOrderEntity
  107. */
  108. public function setTotalPrice($totalPrice): StoreGroupOrderEntity
  109. {
  110. $this->totalPrice = $totalPrice;
  111. return $this;
  112. }
  113. /**
  114. * @return mixed
  115. */
  116. public function getTotalNum()
  117. {
  118. return $this->totalNum;
  119. }
  120. /**
  121. * @param mixed $totalNum
  122. * @return StoreGroupOrderEntity
  123. */
  124. public function setTotalNum($totalNum): StoreGroupOrderEntity
  125. {
  126. $this->totalNum = $totalNum;
  127. return $this;
  128. }
  129. /**
  130. * @return mixed
  131. */
  132. public function getCouponPrice()
  133. {
  134. return $this->couponPrice;
  135. }
  136. /**
  137. * @param mixed $couponPrice
  138. * @return StoreGroupOrderEntity
  139. */
  140. public function setCouponPrice($couponPrice): StoreGroupOrderEntity
  141. {
  142. $this->couponPrice = $couponPrice;
  143. return $this;
  144. }
  145. /**
  146. * @return mixed
  147. */
  148. public function getRealName()
  149. {
  150. return $this->realName;
  151. }
  152. /**
  153. * @param mixed $realName
  154. * @return StoreGroupOrderEntity
  155. */
  156. public function setRealName($realName): StoreGroupOrderEntity
  157. {
  158. $this->realName = $realName;
  159. return $this;
  160. }
  161. /**
  162. * @return mixed
  163. */
  164. public function getUserPhone()
  165. {
  166. return $this->userPhone;
  167. }
  168. /**
  169. * @param mixed $userPhone
  170. * @return StoreGroupOrderEntity
  171. */
  172. public function setUserPhone($userPhone): StoreGroupOrderEntity
  173. {
  174. $this->userPhone = $userPhone;
  175. return $this;
  176. }
  177. /**
  178. * @return mixed
  179. */
  180. public function getUserAddress()
  181. {
  182. return $this->userAddress;
  183. }
  184. /**
  185. * @param mixed $userAddress
  186. * @return StoreGroupOrderEntity
  187. */
  188. public function setUserAddress($userAddress): StoreGroupOrderEntity
  189. {
  190. $this->userAddress = $userAddress;
  191. return $this;
  192. }
  193. /**
  194. * @return mixed
  195. */
  196. public function getPayPrice()
  197. {
  198. return $this->payPrice;
  199. }
  200. /**
  201. * @param mixed $payPrice
  202. * @return StoreGroupOrderEntity
  203. */
  204. public function setPayPrice($payPrice): StoreGroupOrderEntity
  205. {
  206. $this->payPrice = $payPrice;
  207. return $this;
  208. }
  209. /**
  210. * @return mixed
  211. */
  212. public function getPayPostage()
  213. {
  214. return $this->payPostage;
  215. }
  216. /**
  217. * @param mixed $payPostage
  218. * @return StoreGroupOrderEntity
  219. */
  220. public function setPayPostage($payPostage): StoreGroupOrderEntity
  221. {
  222. $this->payPostage = $payPostage;
  223. return $this;
  224. }
  225. /**
  226. * @return mixed
  227. */
  228. public function getCost()
  229. {
  230. return $this->cost;
  231. }
  232. /**
  233. * @param mixed $cost
  234. * @return StoreGroupOrderEntity
  235. */
  236. public function setCost($cost): StoreGroupOrderEntity
  237. {
  238. $this->cost = $cost;
  239. return $this;
  240. }
  241. /**
  242. * @return mixed
  243. */
  244. public function getGiveCouponIds()
  245. {
  246. return $this->giveCouponIds;
  247. }
  248. /**
  249. * @param mixed $giveCouponIds
  250. * @return StoreGroupOrderEntity
  251. */
  252. public function setGiveCouponIds($giveCouponIds): StoreGroupOrderEntity
  253. {
  254. $this->giveCouponIds = $giveCouponIds;
  255. return $this;
  256. }
  257. /**
  258. * @return mixed
  259. */
  260. public function getPaid()
  261. {
  262. return $this->paid;
  263. }
  264. /**
  265. * @param mixed $paid
  266. * @return StoreGroupOrderEntity
  267. */
  268. public function setPaid($paid): StoreGroupOrderEntity
  269. {
  270. $this->paid = $paid;
  271. return $this;
  272. }
  273. /**
  274. * @return mixed
  275. */
  276. public function getPayTime()
  277. {
  278. return $this->payTime;
  279. }
  280. /**
  281. * @param mixed $payTime
  282. * @return StoreGroupOrderEntity
  283. */
  284. public function setPayTime($payTime): StoreGroupOrderEntity
  285. {
  286. $this->payTime = $payTime;
  287. return $this;
  288. }
  289. /**
  290. * @return mixed
  291. */
  292. public function getPayType()
  293. {
  294. return $this->payType;
  295. }
  296. /**
  297. * @param mixed $payType
  298. * @return StoreGroupOrderEntity
  299. */
  300. public function setPayType($payType): StoreGroupOrderEntity
  301. {
  302. $this->payType = $payType;
  303. return $this;
  304. }
  305. /**
  306. * @return mixed
  307. */
  308. public function getCreateTime()
  309. {
  310. return $this->createTime;
  311. }
  312. /**
  313. * @param mixed $createTime
  314. * @return StoreGroupOrderEntity
  315. */
  316. public function setCreateTime($createTime): StoreGroupOrderEntity
  317. {
  318. $this->createTime = $createTime;
  319. return $this;
  320. }
  321. /**
  322. * @return mixed
  323. */
  324. public function getIsRemind()
  325. {
  326. return $this->isRemind;
  327. }
  328. /**
  329. * @param mixed $isRemind
  330. * @return StoreGroupOrderEntity
  331. */
  332. public function setIsRemind($isRemind): StoreGroupOrderEntity
  333. {
  334. $this->isRemind = $isRemind;
  335. return $this;
  336. }
  337. /**
  338. * @return mixed
  339. */
  340. public function getIsDel()
  341. {
  342. return $this->isDel;
  343. }
  344. /**
  345. * @param mixed $isDel
  346. * @return StoreGroupOrderEntity
  347. */
  348. public function setIsDel($isDel): StoreGroupOrderEntity
  349. {
  350. $this->isDel = $isDel;
  351. return $this;
  352. }
  353. /**
  354. * @return mixed
  355. */
  356. public function getRand()
  357. {
  358. return $this->rand;
  359. }
  360. /**
  361. * @param mixed $rand
  362. * @return StoreGroupOrderEntity
  363. */
  364. public function setRand($rand): StoreGroupOrderEntity
  365. {
  366. $this->rand = $rand;
  367. return $this;
  368. }
  369. /**
  370. * @return mixed
  371. */
  372. public function getSplit()
  373. {
  374. return $this->split;
  375. }
  376. /**
  377. * @param mixed $split
  378. * @return StoreGroupOrderEntity
  379. */
  380. public function setSplit($split): StoreGroupOrderEntity
  381. {
  382. $this->split = $split;
  383. return $this;
  384. }
  385. // /**
  386. // * @return mixed
  387. // */
  388. // public function getSerialNumber()
  389. // {
  390. // return $this->serialNumber;
  391. // }
  392. //
  393. // /**
  394. // * @param mixed $serialNumber
  395. // * @return StoreGroupOrderEntity
  396. // */
  397. // public function setSerialNumber($serialNumber): StoreGroupOrderEntity
  398. // {
  399. // $this->serialNumber = $serialNumber;
  400. // return $this;
  401. // }
  402. /**
  403. * @return mixed
  404. */
  405. public function getTestOrder()
  406. {
  407. return $this->testOrder;
  408. }
  409. /**
  410. * @param mixed $testOrder
  411. * @return StoreGroupOrderEntity
  412. */
  413. public function setTestOrder($testOrder): StoreGroupOrderEntity
  414. {
  415. $this->testOrder = $testOrder;
  416. return $this;
  417. }
  418. /**
  419. * @return mixed
  420. */
  421. public function getHfPayId()
  422. {
  423. return $this->hfPayId;
  424. }
  425. /**
  426. * @param mixed $hfPayId
  427. * @return StoreGroupOrderEntity
  428. */
  429. public function setHfPayId($hfPayId): StoreGroupOrderEntity
  430. {
  431. $this->hfPayId = $hfPayId;
  432. return $this;
  433. }
  434. /**
  435. * @return mixed
  436. */
  437. public function getPayWx()
  438. {
  439. return $this->payWx;
  440. }
  441. /**
  442. * @param mixed $payWx
  443. * @return StoreGroupOrderEntity
  444. */
  445. public function setPayWx($payWx): StoreGroupOrderEntity
  446. {
  447. $this->payWx = $payWx;
  448. return $this;
  449. }
  450. /**
  451. * @return mixed
  452. */
  453. public function getFzonePaytype()
  454. {
  455. return $this->fzonePaytype;
  456. }
  457. /**
  458. * @param mixed $fzonePaytype
  459. * @return StoreGroupOrderEntity
  460. */
  461. public function setFzonePaytype($fzonePaytype): StoreGroupOrderEntity
  462. {
  463. if (!is_string($fzonePaytype)) {
  464. $fzonePaytypePre = $fzonePaytype;
  465. $fzonePaytype = '';
  466. if (is_array($fzonePaytypePre)) {
  467. $fzonePaytype = json_encode($fzonePaytypePre);
  468. }
  469. unset($fzonePaytypePre);
  470. }
  471. $this->fzonePaytype = $fzonePaytype;
  472. return $this;
  473. }
  474. }