mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-04 09:02:49 +08:00
feat(scheme): 新增多个数据模型类文件
This commit is contained in:
41
app/admin/scheme/DebugLog.php
Normal file
41
app/admin/scheme/DebugLog.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?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_debug_log', comment: '')]
|
||||
#[Index(columns: ['uid'], name: 'uid', type: 'NORMAL')]
|
||||
class DebugLog extends BaseScheme
|
||||
{
|
||||
#[Field(type: 'int', length: 11, nullable: false, unsigned: true, autoIncrement: true, primary: true)]
|
||||
public $id;
|
||||
|
||||
#[Field(type: 'char', length: 30, precision: 30, default: '')]
|
||||
public $uid;
|
||||
|
||||
#[Field(type: 'char', length: 255, precision: 255, default: '')]
|
||||
public $level;
|
||||
|
||||
#[Field(type: 'longtext')]
|
||||
public $content;
|
||||
|
||||
#[Field(type: 'char', length: 30, precision: 30, default: '')]
|
||||
public $create_time_title;
|
||||
|
||||
#[Field(type: 'int', length: 11, default: '0')]
|
||||
public $create_time;
|
||||
|
||||
#[Field(type: 'char', length: 30, precision: 30, default: '')]
|
||||
public $app_name;
|
||||
|
||||
#[Field(type: 'char', length: 30, precision: 30, default: '')]
|
||||
public $controller_name;
|
||||
|
||||
#[Field(type: 'char', length: 30, precision: 30, default: '')]
|
||||
public $action_name;
|
||||
}
|
||||
Reference in New Issue
Block a user