29 lines
567 B
C#
29 lines
567 B
C#
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; }
|
|
|
|
public int? ProgressPercent { get; init; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// DTO
|
|
/// </summary>
|
|
public record TaskItem : TaskItemBase
|
|
{
|
|
//todo:
|
|
}
|
|
}
|