From 2b0d72a32548aca0dc9e7f1d6adb5045533f5a92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=85=BE=E9=80=9F=E7=A7=91=E6=8A=80?= Date: Fri, 18 May 2018 09:52:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=BA=E6=8D=9F=E6=96=87=E4=BB=B6=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/model/Channel.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 application/common/model/Channel.php diff --git a/application/common/model/Channel.php b/application/common/model/Channel.php new file mode 100644 index 00000000..b76febaa --- /dev/null +++ b/application/common/model/Channel.php @@ -0,0 +1,23 @@ + +// +---------------------------------------------------------------------- + +namespace app\common\model; + +/** +* 设置模型 +*/ +class Channel extends Base{ + + protected $type = array( + 'id' => 'integer', + ); + + protected $auto = array('update_time', 'status'=>1); + protected $insert = array('create_time'); +} \ No newline at end of file