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 override string ToString() { return $"{StartTime},{ShopName},{OrderId},{Spu},{Sku},{StorageType},{PurchaseAmount},{SkuPrice},{ItemTotal},{SpuName}"; } } public class ExportOrderSkuListResponse { public long Count { get; set; } public IList ItemList { get; set; } } }