feature: In-App Simulation Runner (Backend)
CI / frontend (push) Canceled after 0s
CI / backend (push) Canceled after 8m32s

This commit is contained in:
voltsrage
2026-08-06 01:52:53 +08:00
parent 943d41339c
commit 24f45851e9
83 changed files with 3974 additions and 120 deletions
@@ -0,0 +1,19 @@
public class SimulationRun
{
public Guid Id { get; set; }
public string ScenarioId { get; set; } = null!;
public string ScenarioName { get; set; } = null!;
public double Speed { get; set; }
public SimulationRunStatus Status { get; set; }
public Guid? PatientId { get; set; }
public Guid? EncounterId { get; set; }
public string StartedByUserId { get; set; } = null!;
public DateTimeOffset StartedAt { get; set; }
public DateTimeOffset? CompletedAt { get; set; }
public int ObservationsSent { get; set; }
public int MedicationsSent { get; set; }
public int OrdersPlaced { get; set; }
public double LastOffsetMinutes { get; set; }
public double TotalOffsetMinutes { get; set; }
public string? FailureReason { get; set; }
}