Revize a35cb648
Přidáno uživatelem Vojtěch Bartička před asi 2 roky(ů)
Backend/Core/Entities/AnnotationTagGeneric.cs | ||
---|---|---|
7 | 7 |
|
8 | 8 |
namespace Core.Entities |
9 | 9 |
{ |
10 |
/// <summary> |
|
11 |
/// Base class for tag occurences in annotations |
|
12 |
/// </summary> |
|
10 | 13 |
public class AnnotationTagGeneric : BaseEntity |
11 | 14 |
{ |
15 |
/// <summary> |
|
16 |
/// Tag |
|
17 |
/// </summary> |
|
12 | 18 |
public Tag Tag { get; set; } |
13 | 19 |
|
14 |
/** Nullable for optional */ |
|
20 |
/// <summary> |
|
21 |
/// Subtag, nulllable for optional |
|
22 |
/// </summary> |
|
15 | 23 |
public SubTag? SubTag { get; set; } |
16 | 24 |
|
25 |
/// <summary> |
|
26 |
/// Id of the instance (shared by multipart tags) |
|
27 |
/// </summary> |
|
17 | 28 |
public Guid Instance { get; set; } |
29 |
|
|
30 |
/// <summary> |
|
31 |
/// The tag note |
|
32 |
/// </summary> |
|
18 | 33 |
public string Note { get; set; } |
19 | 34 |
public int Position { get; set; } |
20 | 35 |
public int Length { get; set; } |
36 |
|
|
37 |
/// <summary> |
|
38 |
/// Sentiment of the tag, nullable for optional |
|
39 |
/// </summary> |
|
21 | 40 |
public ETagSentiment? Sentiment { get; set; } |
41 |
|
|
42 |
/// <summary> |
|
43 |
/// The text that the tag is covering |
|
44 |
/// </summary> |
|
22 | 45 |
public string SelectedText { get; set; } |
23 | 46 |
} |
24 | 47 |
} |
Také k dispozici: Unified diff
Added comments to backend