Revize 4b03d2a7
Přidáno uživatelem Vojtěch Bartička před asi 2 roky(ů)
Backend/Models/Tags/TagInstanceInfo.cs | ||
---|---|---|
10 | 10 |
{ |
11 | 11 |
public class TagInstanceInfo |
12 | 12 |
{ |
13 |
/** For database */ |
|
13 |
/// <summary> |
|
14 |
/// unique ID |
|
15 |
/// </summary> |
|
14 | 16 |
public Guid OccurenceId { get; set; } |
15 | 17 |
public string TagName { get; set; } |
18 |
|
|
19 |
/// <summary> |
|
20 |
/// ID of the Tag in database |
|
21 |
/// </summary> |
|
16 | 22 |
public Guid TagId { get; set; } |
17 | 23 |
public string TagCategoryName { get; set; } |
24 |
|
|
25 |
/// <summary> |
|
26 |
/// ID of the category in database |
|
27 |
/// </summary> |
|
18 | 28 |
public Guid TagCategoryId { get; set; } |
19 | 29 |
public string? SubTagName { get; set; } |
30 |
|
|
31 |
/// <summary> |
|
32 |
/// ID of the subtag in database |
|
33 |
/// </summary> |
|
20 | 34 |
public Guid? SubTagId { get; set; } |
21 | 35 |
|
36 |
/// <summary> |
|
37 |
/// Instance of the tag (multipart tags share the same instance) |
|
38 |
/// </summary> |
|
22 | 39 |
public Guid Instance { get; set; } |
23 | 40 |
public int Position { get; set; } |
24 | 41 |
public int Length { get; set; } |
... | ... | |
28 | 45 |
public ETagSentiment? Sentiment { get; set; } |
29 | 46 |
public string SelectedText { get; set; } |
30 | 47 |
|
48 |
/// <summary> |
|
49 |
/// Optional list of users who have agreed on this tag - only when the annotation is final |
|
50 |
/// </summary> |
|
31 | 51 |
public List<UserInfo>? Users { get; set; } |
52 |
/// <summary> |
|
53 |
/// Optional information about the tag being resolved - only when the annotation is final |
|
54 |
/// </summary> |
|
32 | 55 |
public bool? IsFinal { get; set; } |
33 | 56 |
} |
34 | 57 |
} |
Také k dispozici: Unified diff
More comments in backend