初步版本251204

This commit is contained in:
2025-12-04 18:39:34 +08:00
parent cd1ec78a11
commit 9dd458ae8b
17 changed files with 1089 additions and 522 deletions

View File

@@ -3,8 +3,8 @@ using FreeSql.DataAnnotations;
namespace FATrace.Model
{
/// <summary>
/// 下载任务实体(持久化队列项)
/// 表示一条从海康 NVR 下载视频的计划与执行状态
/// 下载任务实体(持久化队列项)
/// 表示一条从海康 NVR 下载视频的计划与执行状态
/// </summary>
[Table(Name = "DownloadTask")]
public class DownloadTask
@@ -25,8 +25,8 @@ namespace FATrace.Model
/// <summary>
/// 原料名称
/// </summary>
[Column(StringLength = 100, IsNullable = false)]
public string? RawName { get; set; }
[Column(StringLength = 100, IsNullable = true)]
public string? RawName { get; set; }="";
/// <summary>
/// 原料条码
@@ -62,7 +62,7 @@ namespace FATrace.Model
/// 失败时的错误信息
/// </summary>
[Column(StringLength = 500)]
public string? Error { get; set; }
public string? Error { get; set; }="";
/// <summary>
/// 已尝试次数(每次 Running 前加一)