Record.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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\Coupon;
  7. class Record extends \We7Table {
  8. protected $tableName = 'coupon_record';
  9. protected $primaryKey = 'id';
  10. protected $field = array(
  11. 'uniacid',
  12. 'acid',
  13. 'card_id',
  14. 'openid',
  15. 'friend_openid',
  16. 'givebyfriend',
  17. 'code',
  18. 'hash',
  19. 'addtime',
  20. 'usetime',
  21. 'status',
  22. 'clerk_name',
  23. 'clerk_id',
  24. 'store_id',
  25. 'clerk_type',
  26. 'couponid',
  27. 'uid',
  28. 'grantmodule',
  29. 'remark',
  30. );
  31. protected $default = array(
  32. 'uniacid' => '',
  33. 'acid' => '',
  34. 'card_id' => '',
  35. 'openid' => '',
  36. 'friend_openid' => '',
  37. 'givebyfriend' => '',
  38. 'code' => '',
  39. 'hash' => '',
  40. 'addtime' => '',
  41. 'usetime' => '',
  42. 'status' => '',
  43. 'clerk_name' => '',
  44. 'clerk_id' => '',
  45. 'store_id' => '',
  46. 'clerk_type' => '',
  47. 'couponid' => '',
  48. 'uid' => '',
  49. 'grantmodule' => '',
  50. 'remark' => '',
  51. );
  52. }