2026-05-15 16:09:49 +10:00
|
|
|
|
namespace PARR.Domain.DTOs.TaskDTO
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// DTO
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public record TaskItemBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public Guid Id { get; init; }
|
|
|
|
|
|
|
|
|
|
|
|
public DateTimeOffset DateCreated { get; init; }
|
|
|
|
|
|
|
|
|
|
|
|
public DateTimeOffset? DateModified { get; init; }
|
|
|
|
|
|
|
|
|
|
|
|
public int RetryCount { get; init; }
|
|
|
|
|
|
|
|
|
|
|
|
public DateTimeOffset? ProcessedAt { get; init; }
|
2026-05-20 14:26:25 +10:00
|
|
|
|
|
|
|
|
|
|
public int? ProgressPercent { get; init; }
|
2026-05-15 16:09:49 +10:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// DTO
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public record TaskItem : TaskItemBase
|
|
|
|
|
|
{
|
|
|
|
|
|
//todo:
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|