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
+24
View File
@@ -1,4 +1,5 @@
using dy.net.model.dto;
using MediaStorageType = dy.net.model.dto.StorageType;
using dy.net.utils;
using SqlSugar;
@@ -77,6 +78,11 @@ namespace dy.net.model.entity
/// </summary>
[SugarColumn(Length = 2000, IsNullable = true)]
public string VideoSavePath { get; set; }
/// <summary>
/// 该记录实际所在存储。旧数据默认值 0 表示本地文件。
/// </summary>
public MediaStorageType StorageType { get; set; } = MediaStorageType.Local;
/// <summary>
/// 视频封面地址
/// </summary>
@@ -171,5 +177,23 @@ namespace dy.net.model.entity
/// </summary>
[SugarColumn(Length = 200, IsNullable = true)]
public string CateXId { get; set; }
[SugarColumn(IsIgnore = true)]
public string PendingStoragePath { get; set; }
[SugarColumn(IsIgnore = true)]
public string TemporaryDirectory { get; set; }
[SugarColumn(IsIgnore = true)]
public string TaskItemId { get; set; }
[SugarColumn(IsIgnore = true)]
public string TaskWarning { get; set; }
/// <summary>
/// 普通同步将旧存储记录安全替换到当前存储时使用的旧记录快照,不写入数据库。
/// </summary>
[SugarColumn(IsIgnore = true)]
public DouyinVideo SupersededStorageSnapshot { get; set; }
}
}