aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/TCC/Tango.TCC.BL/Entities/Result.cs
blob: e68282c84dd54fe2ca6559897657386b9741dbb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.TCC.BL.Entities
{
    [Table("RESULTS")]
    public class Result : TCCEntityBase
    {
        [Column("DATE")]
        public DateTime Date { get; set; }

        [Column("DEVICE_GUID")]
        [ForeignKey("Device")]
        public String DeviceGuid { get; set; }

        [Column("CARD_GUID")]
        [ForeignKey("Card")]
        public String CardGuid { get; set; }

        [Column("RAW_COLOR")]
        public int RawColor { get; set; }

        [Column("PROCESSED_COLOR")]
        public int ProcessedColor { get; set; }

        [Column("PROCESS_TIME")]
        public int ProcessTime { get; set; }

        [Column("SAMPLE_IMAGE_BLOB_NAME")]
        public String SampleImageBlobName { get; set; }

        [Column("SOURCE_IMAGE_BLOB_NAME")]
        public String SourceImageBlobName { get; set; }

        public virtual Device Device { get; set; }

        public virtual Card Card { get; set; }
    }
}