步步为盈
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
1.7 KiB

using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Text;
namespace BBWY.Server.Model.Dto
{
public class ProductResponse
{
/// <summary>
/// 商品Id
/// </summary>
public string Id { get; set; }
/// <summary>
/// 商品货号
/// </summary>
public string ProductItemNum { get; set; }
/// <summary>
/// 商品标题
/// </summary>
public string Title { get; set; }
/// <summary>
/// 京东商品状态【-1:删除 1:从未上架 2:自主下架 4:系统下架 8:上架 513:从未上架待审 514:自主下架待审 516:系统下架待审 520:上架待审核 1028:系统下架审核失败】
/// </summary>
public int State { get; set; }
public DateTime? CreateTime { get; set; }
public string Logo { get; set; }
}
public class ProductListResponse
{
public int Count { get; set; }
public IList<ProductResponse> Items { get; set;}
}
public class ProductSkuResponse
{
public string Id { get; set; }
public string ProductId { get; set; }
public decimal Price { get; set; }
/// <summary>
/// Sku标题
/// </summary>
public string Title { get; set; }
public string Logo { get; set; }
/// <summary>
/// 京东Sku状态【1:上架 2:下架 4:删除】
/// </summary>
public int State { get; set; }
public DateTime? CreateTime { get; set; }
public JToken Source { get; set; }
}
public class SimpleProductSkuResponse
{
public string Id { get; set; }
public string Logo { get; set; }
}
}