43 lines
1.8 KiB
C#
43 lines
1.8 KiB
C#
using dy.net.model.dto;
|
|
using SqlSugar;
|
|
|
|
namespace dy.net.model.entity
|
|
{
|
|
[SugarTable(TableName = "openlist_directory_repair_task")]
|
|
[SugarIndex("idx_openlist_repair_created", nameof(CreatedAt), OrderByType.Desc)]
|
|
public sealed class OpenListDirectoryRepairTask
|
|
{
|
|
[SugarColumn(IsPrimaryKey = true, Length = 50)]
|
|
public string Id { get; set; }
|
|
public OpenListDirectoryRepairStatus Status { get; set; }
|
|
[SugarColumn(Length = 128)]
|
|
public string ConfigurationFingerprint { get; set; }
|
|
[SugarColumn(Length = 2000)]
|
|
public string RequestedPath { get; set; }
|
|
[SugarColumn(Length = 2000)]
|
|
public string CanonicalPath { get; set; }
|
|
[SugarColumn(Length = 2000)]
|
|
public string ActualParentPath { get; set; }
|
|
[SugarColumn(Length = 500)]
|
|
public string RequestedName { get; set; }
|
|
[SugarColumn(Length = 1000)]
|
|
public string CandidatePattern { get; set; }
|
|
public int TotalCount { get; set; }
|
|
public int PendingCount { get; set; }
|
|
public int EmptyCount { get; set; }
|
|
public int DeletedCount { get; set; }
|
|
public int SkippedCount { get; set; }
|
|
public int FailedCount { get; set; }
|
|
public int MissingCount { get; set; }
|
|
[SugarColumn(Length = 2000, IsNullable = true)]
|
|
public string CurrentDirectory { 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? ScanCompletedAt { get; set; }
|
|
[SugarColumn(IsNullable = true)] public DateTime? CompletedAt { get; set; }
|
|
}
|
|
}
|