Files
ulthon_admin/app/admin/scheme/SystemNode.php
2026-01-09 21:38:25 +08:00

35 lines
1.2 KiB
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\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_node', comment: '')]
#[Index(columns: ['node'], name: 'node', type: 'NORMAL')]
class SystemNode extends BaseScheme
{
#[Field(type: 'int', length: 11, nullable: false, unsigned: true, autoIncrement: true, primary: true)]
public $id;
#[Field(type: 'char', length: 100, precision: 100, default: '', comment: '节点代码')]
public $node;
#[Field(type: 'char', length: 255, precision: 255, default: '', comment: '节点标题')]
public $title;
#[Field(type: 'int', length: 11, comment: '节点类型1控制器2节点', unsigned: true)]
public $type;
#[Field(type: 'int', length: 11, default: '1', comment: '是否启动RBAC权限控制', unsigned: true)]
public $is_auth;
#[Field(type: 'int', length: 11, default: '0', comment: '创建时间', unsigned: true)]
public $create_time;
#[Field(type: 'int', length: 11, default: '0', unsigned: true)]
public $update_time;
}