29 lines
1.1 KiB
C#
29 lines
1.1 KiB
C#
using dy.net.model.dto;
|
|
using SqlSugar;
|
|
|
|
namespace dy.net.model.entity
|
|
{
|
|
[SugarTable(TableName = "openlist_directory_repair_item")]
|
|
[SugarIndex("idx_openlist_repair_item_task_status", nameof(TaskId), OrderByType.Asc,
|
|
nameof(Status), OrderByType.Asc)]
|
|
public sealed class OpenListDirectoryRepairItem
|
|
{
|
|
[SugarColumn(IsPrimaryKey = true, Length = 50)]
|
|
public string Id { get; set; }
|
|
[SugarColumn(Length = 50)]
|
|
public string TaskId { get; set; }
|
|
[SugarColumn(Length = 500)]
|
|
public string DirectoryName { get; set; }
|
|
[SugarColumn(Length = 2000)]
|
|
public string ActualPath { get; set; }
|
|
public OpenListDirectoryRepairItemStatus Status { get; set; }
|
|
public int Attempts { get; set; }
|
|
public int EntryCount { get; set; }
|
|
[SugarColumn(ColumnDataType = "TEXT", Length = -1, IsNullable = true)]
|
|
public string ErrorMessage { get; set; }
|
|
public DateTime CreatedAt { get; set; }
|
|
public DateTime UpdatedAt { get; set; }
|
|
[SugarColumn(IsNullable = true)] public DateTime? CompletedAt { get; set; }
|
|
}
|
|
}
|