1234567891011121314151617 |
- <?php
- namespace app\index\model;
- use app\index\model\MySqlite;
- class Company extends MySqlite
- {
- public function __construct($tablename = '')
- {
- parent::__construct();
- if ($tablename) {
- $this->tablename = $tablename;
- } else {
- $this->tablename = strtolower(basename(__CLASS__));
- }
- }
- }
|