[FA-misc] Mass transit overhaul, needs testing and review
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System.Text.Json;
|
||||
using NodaTime;
|
||||
|
||||
namespace FictionArchive.Service.ReportingService.Models.Database;
|
||||
|
||||
public class Job
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public required string JobType { get; set; }
|
||||
public required string Status { get; set; }
|
||||
public string? CurrentStep { get; set; }
|
||||
public string? ErrorMessage { get; set; }
|
||||
public JsonDocument? Metadata { get; set; }
|
||||
public Instant CreatedTime { get; set; }
|
||||
public Instant UpdatedTime { get; set; }
|
||||
public Instant? CompletedTime { get; set; }
|
||||
|
||||
public ICollection<JobHistoryEntry> History { get; set; } = new List<JobHistoryEntry>();
|
||||
}
|
||||
Reference in New Issue
Block a user