summaryrefslogtreecommitdiff
path: root/src/marlin.web/Models/Job.cs
diff options
context:
space:
mode:
authorMelodi <62381002+Melodi17@users.noreply.github.com>2026-10-27 23:04:59 +1000
committerMelodi <62381002+Melodi17@users.noreply.github.com>2026-10-27 23:04:59 +1000
commitecd5f5d13936dd097b12766cb95a568ad5b073a9 (patch)
treef360b08e656a98faca4f2b9f10dc44602e6ca289 /src/marlin.web/Models/Job.cs
parent88ee626cb3686dc176cd7911b073c4e65fa54d34 (diff)
feat: lots of stuff
Diffstat (limited to 'src/marlin.web/Models/Job.cs')
-rw-r--r--src/marlin.web/Models/Job.cs13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/marlin.web/Models/Job.cs b/src/marlin.web/Models/Job.cs
index bd60773..f7b6278 100644
--- a/src/marlin.web/Models/Job.cs
+++ b/src/marlin.web/Models/Job.cs
@@ -1,5 +1,7 @@
namespace marlin.web.Models;
+using core.models;
+
public class Job
{
public Guid Id { get; set; }
@@ -25,6 +27,8 @@ public class Job
public string Recipe { get; set; }
// plan
+
+ public ICollection<LogEventRecord> Logs { get; set; }
}
public class JobStatusUpdate
@@ -36,13 +40,4 @@ public class JobStatusUpdate
public DateTime At { get; set; }
public JobStatus Status { get; set; }
-}
-
-public enum JobStatus
-{
- Pending,
- Active,
- Cancelled,
- Success,
- Failed
} \ No newline at end of file