Projekt

Obecné

Profil

Stáhnout (1.61 KB) Statistiky
| Větev: | Tag: | Revize:
1
using Models.Enums;
2
using Models.Users;
3
using System;
4
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
        /// <summary>
14
        /// unique ID
15
        /// </summary>
16
        public Guid OccurenceId { get; set; }
17
        public string TagName { get; set; }
18

    
19
        /// <summary>
20
        /// ID of the Tag in database
21
        /// </summary>
22
        public Guid TagId { get; set; }
23
        public string TagCategoryName { get; set; }
24

    
25
        /// <summary>
26
        /// ID of the category in database
27
        /// </summary>
28
        public Guid TagCategoryId { get; set; }
29
        public string? SubTagName { get; set; }
30

    
31
        /// <summary>
32
        /// ID of the subtag in database
33
        /// </summary>
34
        public Guid? SubTagId { get; set; }
35

    
36
        /// <summary>
37
        /// Instance of the tag (multipart tags share the same instance)
38
        /// </summary>
39
        public Guid Instance { get; set; }
40
        public int Position { get; set; }
41
        public int Length { get; set; }
42

    
43
        public string Note { get; set; }
44

    
45
        public ETagSentiment? Sentiment { get; set; }
46
        public string SelectedText { get; set; }
47

    
48
        /// <summary>
49
        /// Optional list of users who have agreed on this tag - only when the annotation is final
50
        /// </summary>
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>
55
        public bool? IsFinal { get; set; }
56
    }
57
}
(13-13/14)