feat(scheme): 新增多个数据模型类文件

This commit is contained in:
augushong
2026-01-09 21:38:25 +08:00
parent 4f689d9881
commit 6b4a67aeb4
17 changed files with 865 additions and 29 deletions

View File

@@ -0,0 +1,27 @@
<?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_auth_node', comment: '')]
#[Index(columns: ['auth_id'], name: 'auth_id', type: 'NORMAL')]
#[Index(columns: ['node_id'], name: 'node_id', type: 'NORMAL')]
class SystemAuthNode 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 $auth_id;
#[Field(type: 'bigint', length: 11, comment: '节点ID', unsigned: true)]
public $node_id;
#[Field(type: 'char', length: 100, precision: 100, default: '')]
public $node;
}