Projekt

Obecné

Profil

Stáhnout (1.52 KB) Statistiky
| Větev: | Tag: | Revize:
1 cd91f841 Vojtěch Bartička
using Models.Enums;
2 caa28567 Vojtěch Bartička
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 6e91a560 Vojtěch Bartička
        public string Note { get; set; } = "";
30 caa28567 Vojtěch Bartička
31 553486ad Vojtěch Bartička
        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 4e12f0cc Vojtěch Bartička
        public string CachedCSS { get; set; } = "";
37 553486ad Vojtěch Bartička
38
        public Guid? LastModifiedTagId { get; set; }
39
        public EModified ModifiedType { get; set; } = EModified.NONE;
40
41 caa28567 Vojtěch Bartička
        public ICollection<Class> Classes { get; set; } = new List<Class>();
42 8c9ce202 Vojtěch Bartička
43
        public ICollection<FinalAnnotation> FinalAnnotations { get; set; } = new List<FinalAnnotation>();
44 caa28567 Vojtěch Bartička
    }
45
}