From 9c1d65addb53f727f1daf6f170a5fcc1a50e18ee Mon Sep 17 00:00:00 2001 From: thinkphp Date: Thu, 19 May 2016 11:44:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9BModel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/think/Model.php b/library/think/Model.php index f765c0c8..c13c6785 100644 --- a/library/think/Model.php +++ b/library/think/Model.php @@ -34,6 +34,8 @@ abstract class Model implements \JsonSerializable, \ArrayAccess protected $name; // 数据表名称 protected $table; + // 当前类名称 + protected $class; // 回调事件 protected static $event = [];