using System; namespace PCMonitorAgent.Models { /// /// Model untuk registrasi agent ke server /// public class AgentRegistration { public string AgentId { get; set; } public string AgentName { get; set; } public string PCName { get; set; } public string PCIp { get; set; } public string OSInfo { get; set; } public string Status { get; set; } } /// /// Model untuk system info /// public class SystemInfo { public string CPUName { get; set; } public int CPUCores { get; set; } public decimal CPUUsage { get; set; } public long MemoryTotal { get; set; } public long MemoryUsed { get; set; } public long DiskTotal { get; set; } public long DiskUsed { get; set; } public string OSName { get; set; } public string OSVersion { get; set; } public DateTime LastBoot { get; set; } } /// /// Model untuk running process /// public class ProcessInfo { public string ProcessName { get; set; } public int ProcessId { get; set; } public decimal CPUUsage { get; set; } public long MemoryUsage { get; set; } public string Status { get; set; } } /// /// Model untuk PC activity /// public class ActivityLog { public string ActivityType { get; set; } public string AppName { get; set; } public string AppPath { get; set; } public string WebsiteUrl { get; set; } public string Description { get; set; } public DateTime LoggedAt { get; set; } } /// /// Model untuk browser history /// public class BrowserHistory { public string BrowserName { get; set; } public string WebsiteUrl { get; set; } public string WebsiteTitle { get; set; } public DateTime VisitTime { get; set; } public int DurationSeconds { get; set; } } /// /// Model untuk remote command /// public class RemoteCommand { public int CommandId { get; set; } public string CommandType { get; set; } public string CommandParams { get; set; } public string Status { get; set; } } /// /// Model untuk command response /// public class CommandResponse { public int CommandId { get; set; } public string Status { get; set; } public string Response { get; set; } public DateTime ExecutedAt { get; set; } } }