using System;
using Volo.Abp.Application.Dtos;
using Yi.Framework.Stock.Domain.Shared;
namespace Yi.Framework.Stock.Application.Contracts.Dtos.StockTransaction
{
///
/// 股票交易记录DTO
///
public class StockTransactionDto : EntityDto
{
///
/// 用户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; }
///
/// 交易时间
///
public DateTime CreationTime { get; set; }
}
}