Groups.php 488 B

1234567891011121314151617181920212223
  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\Mc;
  7. class Groups extends \We7Table {
  8. protected $tableName = 'mc_groups';
  9. protected $primaryKey = 'groupid';
  10. protected $field = array(
  11. 'uniacid',
  12. 'title',
  13. 'credit',
  14. 'isdefault'
  15. );
  16. protected $default = array(
  17. 'uniacid' => 0,
  18. 'title' => '',
  19. 'credit' => 0,
  20. 'isdefault' => 0
  21. );
  22. }