Order.php 780 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. /**
  3. * [WeEngine System] Copyright (c) 2014 WE7.CC
  4. * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
  5. */
  6. namespace We7\Table\Store;
  7. class Order extends \We7Table {
  8. protected $tableName = 'site_store_order';
  9. protected $primaryKey = 'id';
  10. protected $field = array(
  11. 'orderid',
  12. 'goodsid',
  13. 'duration',
  14. 'buyer',
  15. 'buyerid',
  16. 'amount',
  17. 'type',
  18. 'changeprice',
  19. 'createtime',
  20. 'uniacid',
  21. 'endtime',
  22. 'wxapp',
  23. 'is_wish',
  24. );
  25. protected $default = array(
  26. 'orderid' => '',
  27. 'goodsid' => 0,
  28. 'duration' => 0,
  29. 'buyer' => '',
  30. 'buyerid' => 0,
  31. 'amount' => 0,
  32. 'type' => 0,
  33. 'changeprice' => 0,
  34. 'createtime' => 0,
  35. 'uniacid' => '',
  36. 'endtime' => '',
  37. 'wxapp' => '',
  38. 'is_wish' => 0,
  39. );
  40. }