1
0
mirror of https://github.com/akpaevj/onecmonitor.git synced 2026-06-19 22:59:58 +02:00
Files
onecmonitor/onecmonitor-server/ViewModels/TechLogSettings/TechLogSettingsEditViewModel.cs
T
2025-07-02 10:32:56 +03:00

18 lines
649 B
C#

using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace OnecMonitor.Server.ViewModels.TechLogSettings;
public class TechLogSettingsEditViewModel
{
public Guid Id { get; set; }
public bool Enabled { get; set; } = false;
public Guid? DbmsId { get; set; }
[ValidateNever]
public SelectList AvailableDbms { get; set; } = null!;
public string DatabaseName { get; set; } = "oneswiss-server";
public string Table { get; set; } = "techlog";
public Guid? CredentialsId { get; set; }
[ValidateNever]
public SelectList AvailableCredentials { get; set; } = null!;
}