using System.ComponentModel.DataAnnotations; namespace ZymonicServices; [ZymonicLocalDbSet] public class ZymonicTransitionAttempt { [Key] public Guid gId { get; set; } public ZymonicTransitionAttempt() { if (gId == Guid.Empty) { gId = Guid.NewGuid(); } } public DateTime FirstAttemptedAt { get; set; } = DateTime.UtcNow; public string? processZName { get; set; } public string? transitionZName { get; set; } public string? requestFormJson { get; set; } public int? attemptCount { get; set; } = 0; public string? processId { get; set; } = null; public bool? requireAuthenticate { get; set; } = null; public bool? debugMode { get; set; } = null; public DateTime? lastAttemptedAt { get; set; } = null; public bool? success { get; set; } = null; public bool? inProgress { get; set; } = null; }