using Newtonsoft.Json; using OfficeOpenXml.Attributes; using SqlSugar; using System; using System.Collections.Generic; namespace ARW.Model.Vo.Api.GoodsManager.Goodss { /// /// 商品展示对象Api /// /// @author lwh /// @date 2023-07-09 /// public class GoodsVoApi { /// /// 描述 : 商品Id /// [JsonConverter(typeof(ValueToStringConverter))] [EpplusIgnore] public long SpuId { get; set; } /// /// 描述 :店铺guid /// [JsonConverter(typeof(ValueToStringConverter))] public long ShopGuid { get; set; } /// /// 描述 :店铺名称 /// public string ShopName { get; set; } /// /// 描述 :商品类目guid /// [JsonConverter(typeof(ValueToStringConverter))] public long CategoryIds { get; set; } /// /// 描述 :商品名称 /// public string Title { get; set; } /// /// 描述 :编码 /// public string GoodsCoding { get; set; } /// /// 描述 :主图视频 /// public string Video { get; set; } /// /// 描述 :视频封面 /// public string PrimaryImage { get; set; } /// /// 描述 :图片 /// public string Images { get; set; } public string Thumb { get; set; } /// /// 描述 :价格(最低) /// public decimal Price { get; set; } /// /// 描述 :划线价格(最低) /// public decimal OriginPrice { get; set; } /// /// 描述 :库存总量 /// public int SpuStockQuantity { get; set; } /// /// 描述 :销量 /// public int SoldNum { get; set; } /// /// 描述 :上下架状态(1上架 2下架) /// public int IsPutOnSale { get; set; } } /// /// 商品详情展示对象Api /// public class GoodsApiDetailsVo { /// /// 描述 : 商品Id /// [JsonConverter(typeof(ValueToStringConverter))] [EpplusIgnore] public long SpuId { get; set; } /// /// 描述 :店铺guid /// [JsonConverter(typeof(ValueToStringConverter))] public long ShopGuid { get; set; } /// /// 描述 :商品类目guid /// [JsonConverter(typeof(ValueToStringConverter))] public long CategoryIds { get; set; } /// /// 描述 :店铺Logo /// public string ShopLogo { get; set; } /// /// 描述 :店铺名称 /// public string ShopName { get; set; } /// /// 描述 :店铺销售单量 /// public int ShopSalesOrderCount { get; set; } /// /// 描述 :店铺简介 /// public string ShopIntro { get; set; } /// /// 描述 :商品名称 /// public string Title { get; set; } /// /// 描述 :编码 /// public string GoodsCoding { get; set; } /// /// 描述 :主图视频 /// public string Video { get; set; } /// /// 描述 :视频封面 /// public string PrimaryImage { get; set; } /// /// 描述 :图片 /// public string Images { get; set; } /// /// 描述 :价格(最低) /// public decimal MinSalePrice { get; set; } /// /// 描述 :价格(最高) /// public decimal MaxSalePrice { get; set; } /// /// 描述 :划线价格(最高) /// public decimal MaxLinePrice { get; set; } /// /// 描述 :库存总量 /// public int SpuStockQuantity { get; set; } /// /// 描述 :销量 /// public int SoldNum { get; set; } /// /// 描述 :上下架状态(1上架 2下架) /// public int IsPutOnSale { get; set; } /// /// 描述 :详情 /// public string Desc { get; set; } /// /// 卖点 /// public string GoodsSellingPoint { get; set; } /// /// 商品规格列表 /// public List SpecList { get; set; } /// /// 商品sku列表 /// public List SkuList { get; set; } } }