feat: add fnOS packaging, storage workflows and release pipeline

This commit is contained in:
2026-08-11 18:05:49 +08:00
parent c5922f9b08
commit 95932f0199
181 changed files with 24024 additions and 1164 deletions
+42
View File
@@ -0,0 +1,42 @@
using dy.net.model.dto;
using SqlSugar;
using MediaStorageType = dy.net.model.dto.StorageType;
namespace dy.net.model.entity
{
[SugarTable(TableName = "video_download_task")]
[SugarIndex("idx_video_task_created", nameof(CreatedAt), OrderByType.Desc)]
public class VideoDownloadTask
{
[SugarColumn(IsPrimaryKey = true, Length = 50)]
public string Id { get; set; }
public VideoTaskType Type { get; set; }
public VideoTaskTrigger Trigger { get; set; }
public VideoTaskStatus Status { get; set; }
[SugarColumn(IsNullable = true)]
public VideoTypeEnum? VideoType { get; set; }
public MediaStorageType StorageType { get; set; }
[SugarColumn(Length = 500)]
public string Title { get; set; }
[SugarColumn(Length = 128, IsNullable = true)]
public string StorageFingerprint { get; set; }
public int TotalCount { get; set; }
public int PendingCount { get; set; }
public int RunningCount { get; set; }
public int SuccessCount { get; set; }
public int WarningCount { get; set; }
public int FailedCount { get; set; }
public int SkippedCount { get; set; }
public bool IsArchived { get; set; }
[SugarColumn(Length = 2000, IsNullable = true)]
public string CurrentFile { get; set; }
[SugarColumn(ColumnDataType = "TEXT", Length = -1, IsNullable = true)]
public string ErrorMessage { get; set; }
public DateTime CreatedAt { get; set; }
[SugarColumn(IsNullable = true)]
public DateTime? StartedAt { get; set; }
public DateTime UpdatedAt { get; set; }
[SugarColumn(IsNullable = true)]
public DateTime? CompletedAt { get; set; }
}
}