Order.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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\Paycenter;
  7. class Order extends \We7Table {
  8. protected $tableName = 'paycenter_order';
  9. protected $primaryKey = 'id';
  10. protected $field = array(
  11. 'uniacid',
  12. 'uid',
  13. 'pid',
  14. 'clerk_id',
  15. 'store_id',
  16. 'clerk_type',
  17. 'uniontid',
  18. 'transaction_id',
  19. 'type',
  20. 'trade_type',
  21. 'body',
  22. 'fee',
  23. 'final_fee',
  24. 'credit1',
  25. 'credit1_fee',
  26. 'credit2',
  27. 'cash',
  28. 'remark',
  29. 'auth_code',
  30. 'openid',
  31. 'nickname',
  32. 'follow',
  33. 'status',
  34. 'credit_status',
  35. 'paytime',
  36. 'createtime',
  37. );
  38. protected $default = array(
  39. 'uniacid' => 0,
  40. 'uid' => 0,
  41. 'pid' => 0,
  42. 'clerk_id' => 0,
  43. 'store_id' => 0,
  44. 'clerk_type' => 2,
  45. 'uniontid' => '',
  46. 'transaction_id' => '',
  47. 'type' => '',
  48. 'trade_type' => '',
  49. 'body' => '',
  50. 'fee' => '',
  51. 'final_fee' => '0.00',
  52. 'credit1' => 0,
  53. 'credit1_fee' => '0.00',
  54. 'credit2' => '0.00',
  55. 'cash' => '0.00',
  56. 'remark' => '',
  57. 'auth_code' => '',
  58. 'openid' => '',
  59. 'nickname' => '',
  60. 'follow' => 0,
  61. 'status' => 0,
  62. 'credit_status' => 0,
  63. 'paytime' => 0,
  64. 'createtime' => 0,
  65. );
  66. }