using System; using Yi.Framework.Stock.Domain.Shared; namespace Yi.Framework.Stock.Domain.Shared.Etos { /// /// 股票交易事件数据传输对象 /// public class StockTransactionEto { /// /// 用户ID /// public Guid UserId { get; set; } /// /// 股票ID /// public Guid StockId { get; set; } /// /// 股票代码 /// public string StockCode { get; set; } /// /// 股票名称 /// public string StockName { get; set; } /// /// 交易类型 /// public TransactionTypeEnum TransactionType { get; set; } /// /// 交易价格 /// public decimal Price { get; set; } /// /// 交易数量 /// public int Quantity { get; set; } /// /// 交易总额 /// public decimal TotalAmount { get; set; } /// /// 交易费用 /// public decimal Fee { get; set; } } }