Files
ulthon_admin/app/admin/scheme/SystemMcpLog.php

36 lines
1.0 KiB
PHP

<?php
namespace app\admin\scheme;
use app\common\scheme\BaseScheme;
use app\common\scheme\attribute\Table;
use app\common\scheme\attribute\Field;
use app\common\scheme\attribute\Component;
use app\common\scheme\attribute\Index;
#[Table(name: 'ul_system_mcp_log', comment: 'MCP调用日志表')]
#[Index(columns: ['key_id'], name: 'key_id', type: 'NORMAL')]
class SystemMcpLog extends BaseScheme
{
#[Field(type: 'int', length: 11, nullable: false, unsigned: true, autoIncrement: true, primary: true)]
public $id;
#[Field(type: 'bigint', length: 11, comment: '密钥ID', unsigned: true)]
public $key_id;
#[Field(type: 'char', length: 100, precision: 100)]
public $node;
#[Field(type: 'text', nullable: true, comment: '参数摘要JSON')]
public $arguments;
#[Field(type: 'tinyint', length: 1, default: '1')]
public $is_success;
#[Field(type: 'int', length: 11, default: '0')]
public $cost_ms;
#[Field(type: 'int', length: 11, default: '0', comment: '创建时间', unsigned: true)]
public $create_time;
}