| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- 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,
- /// <summary>
- /// 交割单
- /// </summary>
- [PropertyDisc("DeliveryCompleteId")]
- public long DeliveryCompleteId { get; set; }
- /// <summary>
- /// 交易持仓单号
- /// </summary>
- [PropertyDisc("relationorderid")]
- public long RelationOrderid { get; set; }
- /// <summary>
- /// 交割申报单
- /// </summary>
- [PropertyDisc("Deliveryid")]
- public long Deliveryid { get; set; }
- /// <summary>
- /// 成交价格
- /// </summary>
- [PropertyDisc("TradePrice")]
- public decimal TradePrice { get; set; }
- /// <summary>
- /// 成交数量
- /// </summary>
- [PropertyDisc("Qty")]
- public decimal Qty { get; set; }
- /// <summary>
- /// 成交时间
- /// </summary>
- [PropertyDisc("TradeTime")]
- public string TradeTime { get; set; }
- public string DirectionDisplay
- {
- get
- {
- return Direction.Discription();
- }
- }
- }
- }
|