using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace COMCMS.Core.Models { public class ShoppingCartDetail { #region Model private int _pid = 0; private int _qty = 0; private decimal _price = 0; private decimal _marketprice = 0; private string _itemimg; private int _tid = 0; /// /// 商品ID /// public int PId { set { _pid = value; } get { return _pid; } } /// /// 商品名称 /// public string Title { set; get; } /// /// 商品数量 /// public int Qty { set { _qty = value; } get { return _qty; } } /// /// 商品号 /// public string ItemNO { get; set; } /// /// 商品价格 /// public decimal Price { set { _price = value; } get { return _price; } } /// /// 商品市场价格 /// public decimal MarketPrice { set { _marketprice = value; } get { return _marketprice; } } /// /// 商品图片 /// public string Pic { set { _itemimg = value; } get { return _itemimg; } } /// /// 规格尺寸 /// public string Spec { get; set; } /// /// 商品颜色 /// public string Color { get; set; } /// /// 其他属性,备用 /// public string Attr { get; set; } private decimal _tax = 0M; /// /// 税 /// public decimal Tax { get { return _tax; } set { _tax = value; } } private int _credit = 0; /// /// 积分 /// public int Credit { get { return _credit; } set { _credit = value; } } private int _Available = 0; /// /// 是否可用(可用才会真正结算) /// public int IAvailable { get { return _Available; } set { _Available = value; } } private int _shopid = 0; /// /// 商家ID,0为平台 /// public int ShopId { get { return _shopid; } set { _shopid = value; } } private int _priceid = 0; /// /// 价格ID /// public int PriceId { get { return _priceid; } set { _priceid = value; } } /// /// 类别ID,Utils.MyType /// public int TId { set { _tid = value; } get { return _tid; } } #endregion } }