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
+25
View File
@@ -0,0 +1,25 @@
using dy.net.model.dto;
using SqlSugar;
using MediaStorageType = dy.net.model.dto.StorageType;
namespace dy.net.model.entity
{
[SugarTable(TableName = "media_storage_health")]
public class MediaStorageHealth
{
[SugarColumn(IsPrimaryKey = true, Length = 50)]
public string Id { get; set; } = "default";
public MediaStorageHealthStatus Status { get; set; }
public MediaStorageType StorageType { get; set; }
[SugarColumn(Length = 128, IsNullable = true)]
public string ConfigurationFingerprint { get; set; }
public int ConsecutiveFailures { get; set; }
[SugarColumn(ColumnDataType = "TEXT", Length = -1, IsNullable = true)]
public string LastError { get; set; }
[SugarColumn(IsNullable = true)]
public DateTime? LastFailedAt { get; set; }
[SugarColumn(IsNullable = true)]
public DateTime? LastProbedAt { get; set; }
public DateTime UpdatedAt { get; set; }
}
}