summaryrefslogtreecommitdiff
path: root/src/marlin.web/Models/Agent.cs
diff options
context:
space:
mode:
authorMelodi <62381002+Melodi17@users.noreply.github.com>2026-09-13 13:22:20 +1000
committerMelodi <62381002+Melodi17@users.noreply.github.com>2026-09-13 13:22:20 +1000
commitdf0737e55afeb5c01eb39909605970d1d3a73ffc (patch)
tree09823eaa310c60eefd2420dc305acae45c81900f /src/marlin.web/Models/Agent.cs
parentee69ce25b2fba871920260028bb10c2d6b62b26f (diff)
refactor: cleanup; feat: connection to agent
Diffstat (limited to 'src/marlin.web/Models/Agent.cs')
-rw-r--r--src/marlin.web/Models/Agent.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/marlin.web/Models/Agent.cs b/src/marlin.web/Models/Agent.cs
new file mode 100644
index 0000000..1faea9d
--- /dev/null
+++ b/src/marlin.web/Models/Agent.cs
@@ -0,0 +1,17 @@
+namespace marlin.web.Models;
+
+using core.models;
+
+public class Agent
+{
+ public Guid Id { get; set; }
+ public string AuthToken { get; set; }
+
+ public string Name { get; set; }
+ public int MaxConcurrentJobs { get; set; }
+ public DateTime LastSeen { get; set; }
+
+ public CapabilitySet Capabilities { get; set; }
+
+ public ICollection<Job> Jobs { get; set; }
+} \ No newline at end of file