using KLHZ.Trader.Core.Contracts.Messaging.Dtos; using KLHZ.Trader.Core.Contracts.Messaging.Dtos.Interfaces; using System.ComponentModel.DataAnnotations.Schema; namespace KLHZ.Trader.Core.DataLayer.Entities.Prices { [Table("experiment_results")] public class ExperimentsResult : IProcessedPrice { [Column("id")] public long Id { get; set; } [Column("time")] public DateTime Time { get; set; } [Column("value")] public decimal Price { get; set; } [Column("figi")] public required string Figi { get; set; } [Column("ticker")] public required string Ticker { get; set; } public bool IsHistoricalData { get; set; } [Column("processor")] public required string Processor { get; set; } [NotMapped] public long Count { get; set; } [NotMapped] public int Direction { get; set; } [NotMapped] public decimal Value { get; set; } [NotMapped] public decimal Value2 { get; set; } [NotMapped] public AttachedInfo? AttachedInfo { get; private set; } } }