using System; using System.Collections.Generic; using System.Linq; using System.Text; //---------------------------------------------------------------- //Module Name: $safeprojectname$ //Purpose: //CopyRight: Muchinfo //History: //---------------------------------------------------------------- //DateTime 2017/4/29 17:17:40 //Author //Description Create //---------------------------------------------------------------- using Muchinfo.MTPClient.Data.Extensions; using Muchinfo.MTPClient.Data.Helper; namespace Muchinfo.MTPClient.Data.Model.Account { public class DeliveryComplete : OrderBase { // hcm.*,hdt.deliveryid deliveryCompleteId from(SELECT // mc.accountid accountid, // mc.tradeId tradeId, // mc.orderid orderid, // mc.relationorderid relationorderid, // hxd.deliveryid deliveryid, //to_char( mc.TradeTime, 'yyyy-MM-dd hh24:mi:ss') TradeTime, // mc.TradeTime completeTime, // mc.TradePrice TradePrice, // mc.TradeQty Qty, // mc.TradeAmount TradeAmount, // G.GoodsId GoodsId, // G.GoodsCode GoodsCode, // G.GoodsName GoodsName // mc.BuyOrSell BuyOrSell, /// /// 交割单 /// [PropertyDisc("DeliveryCompleteId")] public long DeliveryCompleteId { get; set; } /// /// 交易持仓单号 /// [PropertyDisc("relationorderid")] public long RelationOrderid { get; set; } /// /// 交割申报单 /// [PropertyDisc("Deliveryid")] public long Deliveryid { get; set; } /// /// 成交价格 /// [PropertyDisc("TradePrice")] public decimal TradePrice { get; set; } /// /// 成交数量 /// [PropertyDisc("Qty")] public decimal Qty { get; set; } /// /// 成交时间 /// [PropertyDisc("TradeTime")] public string TradeTime { get; set; } public string DirectionDisplay { get { return Direction.Discription(); } } } }