diff --git a/model/mCase.php b/model/mCase.php new file mode 100644 index 0000000..ed1a6fc --- /dev/null +++ b/model/mCase.php @@ -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'; + } + +} \ No newline at end of file diff --git a/model/mUser.php b/model/mUser.php new file mode 100644 index 0000000..b943075 --- /dev/null +++ b/model/mUser.php @@ -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'; + } +} \ No newline at end of file diff --git a/model/mUserCase.php b/model/mUserCase.php new file mode 100644 index 0000000..31fac87 --- /dev/null +++ b/model/mUserCase.php @@ -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'; + } + +} \ No newline at end of file