mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-09-02 14:11:38 +08:00
feat(nginx-log): 新增 6 张表 phinx migration + Scheme + model
This commit is contained in:
24
app/admin/model/NginxLogPosition.php
Normal file
24
app/admin/model/NginxLogPosition.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace app\admin\model;
|
||||
|
||||
use app\common\model\TimeModel;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property string $file_path 日志文件绝对路径
|
||||
* @property int $inode 文件 inode
|
||||
* @property int $offset 字节偏移
|
||||
* @property int $last_read_time 上次读取时间戳
|
||||
* @property string $last_line_hash 上次最后一行 md5
|
||||
* @property int $parse_fail_count 解析失败累计次数
|
||||
* @property string $parse_fail_samples 解析失败样本
|
||||
* @property int $create_time 创建时间戳
|
||||
* @property int $update_time 更新时间戳
|
||||
*/
|
||||
class NginxLogPosition extends TimeModel
|
||||
{
|
||||
protected $name = 'nginx_log_position';
|
||||
|
||||
protected $deleteTime = false;
|
||||
}
|
||||
Reference in New Issue
Block a user