mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 23:42:48 +08:00
23 lines
724 B
PHP
23 lines
724 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_auth_node', comment: '角色与节点关系表')]
|
|
#[Index(columns: ['auth_id'], name: 'auth_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: 'char', length: 100, precision: 100, default: '')]
|
|
public $node;
|
|
} |