From ecd5f5d13936dd097b12766cb95a568ad5b073a9 Mon Sep 17 00:00:00 2001 From: Melodi <62381002+Melodi17@users.noreply.github.com> Date: Tue, 27 Oct 2026 23:04:59 +1000 Subject: feat: lots of stuff --- src/marlin.web/Models/Job.cs | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'src/marlin.web/Models/Job.cs') 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 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 -- cgit v1.3.1