feat: add fnOS packaging, storage workflows and release pipeline
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user