mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 21:46:30 +00:00
48c9ccbfda
refactor, renames
23 lines
742 B
C#
23 lines
742 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace Azaion.Common.DTO.Config;
|
|
|
|
public class AnnotationConfig
|
|
{
|
|
public List<DetectionClass> AnnotationClasses { get; set; } = null!;
|
|
|
|
[JsonIgnore]
|
|
private Dictionary<int, DetectionClass>? _detectionClassesDict;
|
|
[JsonIgnore]
|
|
public Dictionary<int, DetectionClass> DetectionClassesDict => _detectionClassesDict ??= AnnotationClasses.ToDictionary(x => x.Id);
|
|
|
|
public int? LastSelectedExplorerClass { get; set; }
|
|
|
|
public List<string> VideoFormats { get; set; } = null!;
|
|
public List<string> ImageFormats { get; set; } = null!;
|
|
|
|
public string AnnotationsDbFile { get; set; } = null!;
|
|
|
|
public double LeftPanelWidth { get; set; }
|
|
public double RightPanelWidth { get; set; }
|
|
} |