1234567891011121314151617181920212223 |
- <?php
- /**
- * [WeEngine System] Copyright (c) 2014 WE7.CC
- * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
- */
- namespace We7\Table\Account;
- class Webapp extends \We7Table {
- protected $tableName = 'account_webapp';
- protected $primaryKey = 'acid';
- protected $field = array(
- 'uniacid',
- 'name',
- );
- protected $default = array(
- 'uniacid' => '',
- 'name' => '',
- );
- public function getAccount($acid) {
- return $this->query->where('acid', $acid)->get();
- }
- }
|