using System; using System.Collections.Generic; using System.Linq; using System.Text; //---------------------------------------------------------------- //Module Name: $safeprojectname$ //Purpose: //CopyRight: Muchinfo //History: //---------------------------------------------------------------- //DateTime 2017/2/23 18:56:25 //Author //Description Create //---------------------------------------------------------------- using Muchinfo.MTPClient.Data.Enums; using Muchinfo.MTPClient.Data.Helper; namespace Muchinfo.MTPClient.Data.Model { public class OrderComfirmModel { /// /// 商品名称 /// public string GoodsName { get; set; } /// /// 委托价格 /// public decimal OrderPrice { get; set; } /// /// 数量 /// public decimal Lot { get; set; } public string OrderPriceDispay { get { if (OrderPrice == 0) { return "--"; } else { return OrderPrice.ToString(); } } } /// /// 方向 /// public Direction Direction { get; set; } public string DirectionDisplay { get { return Direction.Discription(); } } } }