1
0
mirror of https://github.com/akpaevj/onecmonitor.git synced 2026-06-13 21:18:17 +02:00
Files

29 lines
899 B
C#

using System.ComponentModel.DataAnnotations;
using MudBlazor;
namespace OneSwiss.Server.Models;
public class EventLogSettings : DatabaseObject
{
[Label("Включен")] public bool Enabled { get; set; }
[Label("СУБД")] public Guid? DbmsId { get; set; }
[Label("Имя базы данных")]
[MaxLength(100)]
public string DatabaseName { get; set; } = string.Empty;
[Label("Имя таблицы")]
[MaxLength(100)]
public string Table { get; set; } = string.Empty;
[Label("Учетные данные")]
public Guid? CredentialsId { get; set; }
[Label("Шаблон регулярного выражения для имени ИБ")]
public string InfoBaseNameRegex { get; set; } = string.Empty;
public int DefaultTtl { get; set; } = 365;
public Dbms? Dbms { get; set; }
public Credentials? Credentials { get; set; }
}