
3 changed files with 57 additions and 0 deletions
@ -0,0 +1,23 @@ |
|||||
|
<?php |
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
include_once(SERVER_ROOT."/model/mBase.php"); |
||||
|
|
||||
|
|
||||
|
class mCase extends mBase { |
||||
|
private $obj; |
||||
|
private $tbl; |
||||
|
private $case_herb_tbl; |
||||
|
private $herb_tbl; |
||||
|
private $collect_log_tbl; |
||||
|
|
||||
|
public function __construct() { |
||||
|
$this->obj = new dCase(); |
||||
|
$this->tbl = 'tcm_case'; |
||||
|
$this->case_herb_tbl = 'tcm_case_herb'; |
||||
|
$this->herb_tbl = 'tcm_herb'; |
||||
|
$this->collect_log_tbl = 'tcm_collect_log'; |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,16 @@ |
|||||
|
<?php |
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
include_once(SERVER_ROOT."/model/mBase.php"); |
||||
|
|
||||
|
|
||||
|
class mUser extends mBase { |
||||
|
private $obj; |
||||
|
private $tbl; |
||||
|
|
||||
|
public function __construct() { |
||||
|
$this->obj = new dUser(); |
||||
|
$this->tbl = 'tcm_user'; |
||||
|
} |
||||
|
} |
@ -0,0 +1,18 @@ |
|||||
|
<?php |
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
include_once(SERVER_ROOT."/model/mBase.php"); |
||||
|
include_once(SERVER_ROOT."/vendor/mpdf/mpdf/mpdf.php"); |
||||
|
|
||||
|
class mUserCase extends mBase { |
||||
|
private $obj; |
||||
|
private $tbl; |
||||
|
private $user_herb_tbl; |
||||
|
public function __construct() { |
||||
|
$this->obj = new dUserCase(); |
||||
|
$this->tbl = 'tcm_user_case'; |
||||
|
$this->user_herb_tbl = 'tcm_user_herb'; |
||||
|
} |
||||
|
|
||||
|
} |
Loading…
Reference in new issue