mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
35 lines
1.2 KiB
PHP
35 lines
1.2 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_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;
|
||
} |