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