Rule.php 559 B

123456789101112131415161718192021222324252627
  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\Rule;
  7. class Rule extends \We7Table {
  8. protected $tableName = 'rule';
  9. protected $primaryKey = 'id';
  10. protected $field = array(
  11. 'uniacid',
  12. 'name',
  13. 'module',
  14. 'containtype',
  15. 'displayorder',
  16. 'status',
  17. );
  18. protected $default = array(
  19. 'uniacid' => '0',
  20. 'name' => '',
  21. 'module' => '',
  22. 'containtype' => '',
  23. 'displayorder' => '0',
  24. 'status' => '1',
  25. );
  26. }