Projekt

Obecné

Profil

Stáhnout (1.43 KB) Statistiky
| Větev: | Tag: | Revize:
1
using Models.Enums;
2
using System;
3
using System.Collections.Generic;
4
using System.ComponentModel.DataAnnotations;
5
using System.ComponentModel.DataAnnotations.Schema;
6
using System.Linq;
7
using System.Text;
8
using System.Threading.Tasks;
9

    
10
namespace Core.Entities
11
{
12
    public class Annotation : BaseEntity
13
    {
14
        /*[ForeignKey("Document")]
15
        public int DocumentId { get; set; }*/
16
        public Document Document { get; set; }
17
        
18
        /*[ForeignKey("User")]
19
        public int UserId { get; set; }*/
20
        public User User { get; set; }
21

    
22
        /*[ForeignKey("User")]
23
        public int UserAssignedId { get; set; }*/
24
        public User UserAssigned { get; set; }
25

    
26
        public DateTime DateAssigned { get; set; }
27
        public EState State { get; set; }
28
        public DateTime DateLastChanged { get; set; }
29
        public string Note { get; set; } = "";
30

    
31
        public string CachedDocumentHTML { get; set; } = "";
32
        public string CachedStartPositions { get; set; } = "";
33
        public string CachedLengths { get; set; } = "";
34
        public string CachedClosingPositions { get; set; } = "";
35
        public string CachedClosingLengths { get; set; } = "";
36
        //public string CachedNodeDict { get; set; } = "";
37

    
38
        public Guid? LastModifiedTagId { get; set; }
39
        public EModified ModifiedType { get; set; } = EModified.NONE;
40

    
41
        public ICollection<Class> Classes { get; set; } = new List<Class>();
42
    }
43
}
(1-1/11)