using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace YLErp.Model
{
[Table("eod_trade_position_static")]
public class eod_trade_position_static
{
[Key]
public int id { get; set; }
///
/// 簿记账户ID
///
public int AssetBookId { get; set; }
///
/// 估值日
///
public DateTime ValueDate { get; set; }
///
/// 标的代码
///
public string UnderlyingCode { get; set; }
///
/// long|short
///
public string TradeType { get; set; }
///
/// 交易编号
///
public string PositionType { get; set; }
///
/// 持仓份额
///
public double Notional { get; set; }
///
/// 持仓盈亏
///
public double PositionPnL { get; set; }
///
/// 持仓均价
///
public double AveragePrice { get; set; }
///
/// 场内期权合约号
///
public string OptionCode { get; set; }
}
}