first commit

This commit is contained in:
liu
2026-07-13 15:23:29 +08:00
commit 50885a98c8
473 changed files with 33772 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace Modules\SystemTool\Attributes;
use Attribute;
use Modules\SystemTool\Enum\ESettingType;
/**
* 在 SettingsDefinition 子类上声明配置项
*/
#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]
class Setting
{
public function __construct(
public string $config,
public ESettingType $type = ESettingType::String,
public ?string $description = null,
) {}
}