using Newtonsoft.Json; namespace Azaion.Common.DTO.Config; public class AnnotationConfig { public List AnnotationClasses { get; set; } = null!; [JsonIgnore] private Dictionary? _annotationClassesDict; [JsonIgnore] public Dictionary AnnotationClassesDict => _annotationClassesDict ??= 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; } }