mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 16:33:12 +00:00
25 lines
886 B
C#
25 lines
886 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Data.SeaHavenIndustries
|
|
{
|
|
public sealed class WorkOrderReconciliationJob
|
|
{
|
|
public int Id { get; set; }
|
|
public Guid RunId { get; set; }
|
|
public Guid? FenceToken { get; set; }
|
|
[MaxLength(32)]
|
|
public string State { get; set; } = "Idle";
|
|
[MaxLength(128)]
|
|
public string? Reason { get; set; }
|
|
public DateTimeOffset? RequestedAt { get; set; }
|
|
public DateTimeOffset? StartedAt { get; set; }
|
|
public DateTimeOffset? LeaseExpiresAt { get; set; }
|
|
public DateTimeOffset? CompletedAt { get; set; }
|
|
public int WorkOrdersProcessed { get; set; }
|
|
public int CommentsProcessed { get; set; }
|
|
[MaxLength(64)]
|
|
public string? ErrorCode { get; set; }
|
|
[Timestamp]
|
|
public byte[]? RowVersion { get; set; }
|
|
}
|
|
}
|