17 lines
550 B
C#
17 lines
550 B
C#
using KLHZ.Trader.Core.Contracts.Messaging.Dtos.Interfaces;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace KLHZ.Trader.Core.Contracts.Messaging.Dtos
|
|
{
|
|
public class NewPriceMessage : INewPrice
|
|
{
|
|
public decimal Value { get; set; }
|
|
public required string Figi { get; set; }
|
|
public required string Ticker { get; set; }
|
|
public DateTime Time { get; set; }
|
|
public bool IsHistoricalData { get; set; }
|
|
[NotMapped]
|
|
public bool IsSellPrice { get; set; }
|
|
}
|
|
}
|