Files
ulthon_admin/app/admin/model/XhprofWatch.php

28 lines
711 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace app\admin\model;
use app\common\model\TimeModel;
/**
* XHProf 函数监控规则
*
* @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;
public const SELECT_LIST_STATUS = ['0' => '禁用', '1' => '启用'];
}