This commit is contained in:
2025-10-29 11:42:58 +08:00
parent 7f6f84cd0e
commit a178c3550e
190 changed files with 81361 additions and 92 deletions

View File

@@ -0,0 +1,35 @@
using FreeSql.DataAnnotations;
namespace FATrace.Model
{
/// <summary>
/// 通用任务状态枚举。
/// </summary>
public enum TaskStatus
{
/// <summary>
/// 待处理(已入队但尚未开始)。
/// </summary>
Pending = 0,
/// <summary>
/// 运行中(正在处理)。
/// </summary>
Running = 1,
/// <summary>
/// 已完成(处理成功)。
/// </summary>
Completed = 2,
/// <summary>
/// 失败(处理过程中出现错误)。
/// </summary>
Failed = 3,
/// <summary>
/// 已取消(由用户或系统取消处理)。
/// </summary>
Canceled = 4
}
}