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; } } }