|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace BBWY.Client.Models
|
|
|
|
{
|
|
|
|
public class ExportOrderSkuResponse
|
|
|
|
{
|
|
|
|
public string OrderId { get; set; }
|
|
|
|
|
|
|
|
public DateTime? StartTime { get; set; }
|
|
|
|
|
|
|
|
public long ShopId { get; set; }
|
|
|
|
|
|
|
|
public string ShopName { get; set; }
|
|
|
|
|
|
|
|
public string Spu { get; set; }
|
|
|
|
|
|
|
|
public string Sku { get; set; }
|
|
|
|
|
|
|
|
public StorageType? StorageType { get; set; }
|
|
|
|
|
|
|
|
public decimal? PurchaseSkuAmount { get; set; }
|
|
|
|
|
|
|
|
public decimal? PurchaseFreight { get; set; }
|
|
|
|
|
|
|
|
public decimal? PurchaseAmount { get { return PurchaseSkuAmount + PurchaseFreight; } }
|
|
|
|
|
|
|
|
public decimal? SkuPrice { get; set; }
|
|
|
|
|
|
|
|
public int? ItemTotal { get; set; }
|
|
|
|
|
|
|
|
public string SpuName { get; set; }
|
|
|
|
|
|
|
|
public OrderState? OrderState { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 平台补贴
|
|
|
|
/// </summary>
|
|
|
|
public decimal? PreferentialAmount { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 商家优惠金额
|
|
|
|
/// </summary>
|
|
|
|
public decimal? SellerPreferentialAmount { get; set; }
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
{
|
|
|
|
return $"{StartTime},{ShopName},{OrderId},{OrderState},{Spu},{Sku},{StorageType},{PurchaseAmount},{PreferentialAmount},{SellerPreferentialAmount},{SkuPrice},{ItemTotal},{SpuName}";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public class ExportOrderSkuListResponse
|
|
|
|
{
|
|
|
|
public long Count { get; set; }
|
|
|
|
|
|
|
|
public IList<ExportOrderSkuResponse> ItemList { get; set; }
|
|
|
|
}
|
|
|
|
}
|