mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-08-30 20:55:32 +08:00
24 lines
730 B
PHP
24 lines
730 B
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_key_node', comment: 'MCP密钥与节点关系表')]
|
|
#[Index(columns: ['key_id'], name: 'key_id', type: 'NORMAL')]
|
|
class SystemMcpKeyNode 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, default: '')]
|
|
public $node;
|
|
}
|