mirror of
https://github.com/azaion/annotations.git
synced 2026-04-23 06:16:31 +00:00
18 lines
592 B
C#
18 lines
592 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace Azaion.Common.DTO.Config;
|
|
|
|
public class AnnotationConfig
|
|
{
|
|
public List<AnnotationClass> AnnotationClasses { get; set; } = null!;
|
|
|
|
[JsonIgnore]
|
|
private Dictionary<int, AnnotationClass>? _annotationClassesDict;
|
|
[JsonIgnore]
|
|
public Dictionary<int, AnnotationClass> AnnotationClassesDict => _annotationClassesDict ??= AnnotationClasses.ToDictionary(x => x.Id);
|
|
|
|
public int? LastSelectedExplorerClass { get; set; }
|
|
|
|
public List<string> VideoFormats { get; set; } = null!;
|
|
public List<string> ImageFormats { get; set; } = null!;
|
|
} |