Webapp.php 524 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\Account;
  7. class Webapp extends \We7Table {
  8. protected $tableName = 'account_webapp';
  9. protected $primaryKey = 'acid';
  10. protected $field = array(
  11. 'uniacid',
  12. 'name',
  13. );
  14. protected $default = array(
  15. 'uniacid' => '',
  16. 'name' => '',
  17. );
  18. public function getAccount($acid) {
  19. return $this->query->where('acid', $acid)->get();
  20. }
  21. }