74 lines
1.6 KiB
C#
74 lines
1.6 KiB
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data.SqlTypes;
|
|
using System.Linq;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AllBase.Model.Result.PDDResult
|
|
{
|
|
public class PDDFrontProductInfo4
|
|
{
|
|
[JsonProperty("商品编号")]
|
|
public string ProductId { get; set; }
|
|
|
|
[JsonProperty("商品链接")]
|
|
public string ProductUrl { get; set; }
|
|
|
|
[JsonProperty("标题")]
|
|
public string Title { get; set; }
|
|
|
|
[JsonProperty("描述")]
|
|
public string Description { get; set; }
|
|
|
|
[JsonProperty("视频链接")]
|
|
public string VideoUrl { get; set; }
|
|
|
|
[JsonProperty("类目")]
|
|
public string Category { get; set; }
|
|
|
|
[JsonProperty("链接")]
|
|
public string Link { get; set; }
|
|
|
|
[JsonProperty("评论")]
|
|
public string Comments { get; set; }
|
|
|
|
[JsonProperty("属性")]
|
|
public Dictionary<string,string> Attributes { get; set; }
|
|
|
|
[JsonProperty("主图")]
|
|
public List<string> MainImages { get; set; }
|
|
|
|
[JsonProperty("详情图")]
|
|
public List<string> DetailImages { get; set; }
|
|
|
|
[JsonProperty("规格")]
|
|
public Dictionary<string,List<string>> Specifications { get; set; }
|
|
|
|
[JsonProperty("价格与库存")]
|
|
public Dictionary<string, PriceStock> SKU { get; set; }
|
|
}
|
|
|
|
|
|
|
|
public class PriceStock
|
|
{
|
|
[JsonProperty("规格值组合")]
|
|
public string SpecValue { get; set; }
|
|
|
|
[JsonProperty("价格")]
|
|
public string Price { get; set; }
|
|
|
|
[JsonProperty("原价")]
|
|
public string OriginalPrice { get; set; }
|
|
|
|
[JsonProperty("库存")]
|
|
public int Stock { get; set; }
|
|
|
|
[JsonProperty("规格图")]
|
|
public string SpecImage { get; set; }
|
|
}
|
|
}
|