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

39 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_config', comment: '')]
#[Index(columns: ['name'], name: 'name', type: 'NORMAL')]
#[Index(columns: ['group'], name: 'group', type: 'NORMAL')]
class SystemConfig 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: '', comment: '变量名')]
public $name;
#[Field(type: 'char', length: 30, precision: 30, default: '', comment: '分组')]
public $group;
#[Field(type: 'text', comment: '变量值')]
public $value;
#[Field(type: 'char', length: 100, precision: 100, default: '', comment: '备注信息')]
public $remark;
#[Field(type: 'int', length: 11, default: '0', comment: '排序')]
public $sort;
#[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;
}