using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CoreCms.Net.Model.ViewModels.DTO { /// /// 新的sku返回接口对象 /// public class CoreCmsProductsView { /// /// 产品编号 /// public string _id { get; set; } /// /// 商品名称 /// public string name { get; set; } /// /// 缩略图 /// public string goods_thumb { get; set; } /// /// 编码 /// public string sn { get; set; } /// /// 销售价格 /// public decimal price { get; set; } /// /// 成本价 /// public decimal costprice { get; set; } /// /// 市场价 /// public decimal mktprice { get; set; } /// /// 库存 /// public int stock { get; set; } /// /// 冻结库存 /// public int freezeStock { get; set; } /// /// 重量 /// public int weight { get; set; } /// /// 拼团数量 /// public int buyPinTuanCount { get; set; } /// /// 促销数量 /// public int buyPromotionCount { get; set; } /// /// /// public List sku_list { get; set; } /// /// /// public List spec_list { get; set; } } public class Product_Sku_listItem { /// /// /// public string _id { get; set; } /// /// /// public string goods_id { get; set; } /// /// /// public string goods_name { get; set; } /// /// /// public string image { get; set; } /// /// /// public decimal price { get; set; } /// /// 商城定价 /// public decimal selPrice { get; set; } /// /// 推荐零售价,市场价 /// public decimal mktPrice { get; set; } /// /// /// public List sku_name_arr { get; set; } /// /// /// public decimal stock { get; set; } } public class Product_Sku_list { /// /// 红色 /// public string name { get; set; } } public class Product_Spec_listItem { /// /// /// public List list { get; set; } /// /// 颜色 /// public string name { get; set; } } }