mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-08-30 12:45:32 +08:00
feat(admin): XHProf 性能日志五张表 Scheme 迁移与模型
This commit is contained in:
24
app/admin/model/XhprofWatch.php
Normal file
24
app/admin/model/XhprofWatch.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace app\admin\model;
|
||||
|
||||
use app\common\model\TimeModel;
|
||||
|
||||
/**
|
||||
* @property int $id 主键ID
|
||||
* @property string $name 规则名称(人读)
|
||||
* @property string $regex PCRE 正则(对被调用函数名匹配)
|
||||
* @property string $note 备注
|
||||
* @property int $threshold_ms 比对阈值(毫秒),0=不比对
|
||||
* @property int $status 状态:1=启用,0=禁用
|
||||
* @property int $create_time 创建时间戳
|
||||
* @property int $update_time 更新时间戳
|
||||
*/
|
||||
class XhprofWatch extends TimeModel
|
||||
{
|
||||
|
||||
protected $name = "xhprof_watch";
|
||||
|
||||
protected $deleteTime = false;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user