using System;
using Volo.Abp.Application.Dtos;
namespace Yi.Framework.Stock.Application.Contracts.Dtos.StockHolding
{
///
/// 用户股票持仓DTO
///
public class StockHoldingDto : EntityDto
{
///
/// 用户ID
///
public Guid UserId { get; set; }
///
/// 股票ID
///
public Guid StockId { get; set; }
///
/// 股票代码
///
public string StockCode { get; set; }
///
/// 股票名称
///
public string StockName { get; set; }
///
/// 持有数量
///
public int Quantity { get; set; }
///
/// 持仓成本
///
public decimal CostPrice { get; set; }
///
/// 当前价格
///
public decimal CurrentPrice { get; set; }
///
/// 持仓市值
///
public decimal MarketValue { get; set; }
///
/// 盈亏金额
///
public decimal ProfitLoss { get; set; }
///
/// 盈亏百分比
///
public decimal ProfitLossPercentage { get; set; }
///
/// 创建时间
///
public DateTime CreationTime { get; set; }
}
}