You've already forked onecmonitor
mirror of
https://github.com/akpaevj/onecmonitor.git
synced 2026-06-19 22:59:58 +02:00
27 lines
1.0 KiB
C#
27 lines
1.0 KiB
C#
using System.ComponentModel;
|
|
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
|
|
using OnecMonitor.Server.Models;
|
|
|
|
namespace OnecMonitor.Server.ViewModels.TechLogSeances
|
|
{
|
|
public class TechLogSeanceEditViewModel
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string Description { get; set; } = string.Empty;
|
|
public TechLogSeanceStartMode StartMode { get; set; } = TechLogSeanceStartMode.Immediately;
|
|
public DateTime StartDateTime { get; set; } = DateTime.MinValue;
|
|
public int Duration { get; set; } = 15;
|
|
|
|
[DisplayName("Шаблоны")]
|
|
public List<SelectableItemViewModel> Templates { get; set; } = [];
|
|
[ValidateNever]
|
|
[DisplayName("Агенты")]
|
|
public List<SelectableItemViewModel> Agents { get; set; } = [];
|
|
|
|
[ValidateNever]
|
|
public List<SelectableItemViewModel> AvailableTemplates { get; set; } = [];
|
|
[ValidateNever]
|
|
public List<SelectableItemViewModel> AvailableAgents { get; set; } = [];
|
|
}
|
|
}
|