You've already forked onecmonitor
mirror of
https://github.com/akpaevj/onecmonitor.git
synced 2026-06-19 22:59:58 +02:00
21 lines
615 B
C#
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; } = [];
|
|
} |