using Newtonsoft.Json; namespace Azaion.Common.DTO.Config; public class AnnotationConfig { public List AnnotationClasses { get; set; } = null!; [JsonIgnore] private Dictionary? _detectionClassesDict; [JsonIgnore] public Dictionary DetectionClassesDict => _detectionClassesDict ??= AnnotationClasses.ToDictionary(x => x.Id); public int? LastSelectedExplorerClass { get; set; } public List VideoFormats { get; set; } = null!; public List ImageFormats { get; set; } = null!; public string AnnotationsDbFile { get; set; } = null!; public double LeftPanelWidth { get; set; } public double RightPanelWidth { get; set; } }