AI代码生成工具

This commit is contained in:
李琦
2026-08-10 15:51:00 +08:00
parent d0018a0173
commit bd226c260f
31 changed files with 5468 additions and 31 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace App\Enum;
/**
* AI 生成记录状态
*/
enum AiGenerationStatusEnum: int
{
case RUNNING = 0;
case SUCCESS = 1;
case FAIL = 2;
public function description(): string
{
return match ($this) {
self::RUNNING => '进行中',
self::SUCCESS => '成功',
self::FAIL => '失败',
};
}
}