赛亿提成统计系统

Company.php 351B

1234567891011121314151617
  1. <?php
  2. namespace app\index\model;
  3. use app\index\model\MySqlite;
  4. class Company extends MySqlite
  5. {
  6. public function __construct($tablename = '')
  7. {
  8. parent::__construct();
  9. if ($tablename) {
  10. $this->tablename = $tablename;
  11. } else {
  12. $this->tablename = strtolower(basename(__CLASS__));
  13. }
  14. }
  15. }