Revize a98b126b
Přidáno uživatelem Vojtěch Bartička před více než 2 roky(ů)
Backend/Core/ZipUtils/Export.cs | ||
---|---|---|
1 |
using Core.Entities;
|
|
1 |
using Core.Entities; |
|
2 | 2 |
using Models.Enums; |
3 | 3 |
using Newtonsoft.Json; |
4 | 4 |
using System; |
... | ... | |
109 | 109 |
ExportAnnotationInfo annotationInfo = new(); |
110 | 110 |
annotationInfo.AnnotatorId = annotation.User.Id; |
111 | 111 |
annotationInfo.DocumentId = documentId; |
112 |
annotationInfo.AnnotationState = annotation.State.ToString(); |
|
112 | 113 |
|
113 | 114 |
foreach (var tag in tags) |
114 | 115 |
{ |
... | ... | |
169 | 170 |
/// Tags |
170 | 171 |
/// </summary> |
171 | 172 |
public List<ExportTagInstanceInfo> Tags { get; set; } = new(); |
173 |
|
|
174 |
public string AnnotationState { get; set; } |
|
172 | 175 |
} |
173 | 176 |
|
174 | 177 |
public class ExportTagInstanceInfo |
Také k dispozici: Unified diff
Added annotation state to document export