1 |
c9e97683
|
Vojtěch Bartička
|
using Models.Enums;
|
2 |
8c9ce202
|
Vojtěch Bartička
|
using Models.Users;
|
3 |
c9e97683
|
Vojtěch Bartička
|
using System;
|
4 |
37259a80
|
Vojtěch Bartička
|
using System.Collections.Generic;
|
5 |
|
|
using System.Linq;
|
6 |
|
|
using System.Text;
|
7 |
|
|
using System.Threading.Tasks;
|
8 |
|
|
|
9 |
|
|
namespace Models.Tags
|
10 |
|
|
{
|
11 |
|
|
public class TagInstanceInfo
|
12 |
|
|
{
|
13 |
4b03d2a7
|
Vojtěch Bartička
|
/// <summary>
|
14 |
|
|
/// unique ID
|
15 |
|
|
/// </summary>
|
16 |
2ebf32d0
|
Vojtěch Bartička
|
public Guid OccurenceId { get; set; }
|
17 |
37259a80
|
Vojtěch Bartička
|
public string TagName { get; set; }
|
18 |
4b03d2a7
|
Vojtěch Bartička
|
|
19 |
|
|
/// <summary>
|
20 |
|
|
/// ID of the Tag in database
|
21 |
|
|
/// </summary>
|
22 |
37259a80
|
Vojtěch Bartička
|
public Guid TagId { get; set; }
|
23 |
|
|
public string TagCategoryName { get; set; }
|
24 |
4b03d2a7
|
Vojtěch Bartička
|
|
25 |
|
|
/// <summary>
|
26 |
|
|
/// ID of the category in database
|
27 |
|
|
/// </summary>
|
28 |
37259a80
|
Vojtěch Bartička
|
public Guid TagCategoryId { get; set; }
|
29 |
|
|
public string? SubTagName { get; set; }
|
30 |
4b03d2a7
|
Vojtěch Bartička
|
|
31 |
|
|
/// <summary>
|
32 |
|
|
/// ID of the subtag in database
|
33 |
|
|
/// </summary>
|
34 |
37259a80
|
Vojtěch Bartička
|
public Guid? SubTagId { get; set; }
|
35 |
|
|
|
36 |
4b03d2a7
|
Vojtěch Bartička
|
/// <summary>
|
37 |
|
|
/// Instance of the tag (multipart tags share the same instance)
|
38 |
|
|
/// </summary>
|
39 |
be4deff8
|
Vojtěch Bartička
|
public Guid Instance { get; set; }
|
40 |
37259a80
|
Vojtěch Bartička
|
public int Position { get; set; }
|
41 |
|
|
public int Length { get; set; }
|
42 |
|
|
|
43 |
|
|
public string Note { get; set; }
|
44 |
|
|
|
45 |
c9e97683
|
Vojtěch Bartička
|
public ETagSentiment? Sentiment { get; set; }
|
46 |
f6f1ca65
|
Vojtěch Bartička
|
public string SelectedText { get; set; }
|
47 |
8c9ce202
|
Vojtěch Bartička
|
|
48 |
4b03d2a7
|
Vojtěch Bartička
|
/// <summary>
|
49 |
|
|
/// Optional list of users who have agreed on this tag - only when the annotation is final
|
50 |
|
|
/// </summary>
|
51 |
8c9ce202
|
Vojtěch Bartička
|
public List<UserInfo>? Users { get; set; }
|
52 |
4b03d2a7
|
Vojtěch Bartička
|
/// <summary>
|
53 |
|
|
/// Optional information about the tag being resolved - only when the annotation is final
|
54 |
|
|
/// </summary>
|
55 |
8c9ce202
|
Vojtěch Bartička
|
public bool? IsFinal { get; set; }
|
56 |
37259a80
|
Vojtěch Bartička
|
}
|
57 |
|
|
}
|