1
0
mirror of https://github.com/akpaevj/onecmonitor.git synced 2026-06-19 22:59:58 +02:00
Files
onecmonitor/onecmonitor-server/Models/Cluster.cs
T
2025-02-10 15:17:02 +03:00

21 lines
615 B
C#

using System.ComponentModel.DataAnnotations;
namespace OnecMonitor.Server.Models;
public class Cluster : DatabaseObject
{
public string ClusterId { get; set; } = null!;
[MaxLength(100)]
public string Name { get; set; } = string.Empty;
[MaxLength(100)]
public string Host { get; set; } = string.Empty;
public int Port { get; set; }
public Guid AgentId { get; set; }
public Agent Agent { get; set; } = null!;
public Guid CredentialsId { get; set; }
public Credentials Credentials { get; set; } = null!;
public List<InfoBase> InfoBases { get; set; } = [];
}