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.

64 lines
1.7 KiB

using BBWYB.Server.Model.Db;
namespace BBWYB.Server.Model.Dto
{
public class PurchaserResponse : Purchaser
{
/// <summary>
/// 类目集合
/// </summary>
public IList<PurchaserExtendedInfoResponse> CategoryList { get; set; }
/// <summary>
/// 自定义标签集合
/// </summary>
public IList<PurchaserExtendedInfoResponse> TagList { get; set; }
/// <summary>
/// 绑定SPU数
/// </summary>
public int? BindingSpuCount { get; set; }
/// <summary>
/// 采购SPU数
/// </summary>
public int? PurchasedSpuCount { get; set; }
/// <summary>
/// 绑定SKU数
/// </summary>
public int? BindingSkuCount { get; set; }
/// <summary>
/// 采购SKU数
/// </summary>
public int? PurchasedSkuCount { get; set; } = 0;
/// <summary>
/// 采购次数/采购订单数
/// </summary>
public int? PurchasedCount { get; set; } = 0;
/// <summary>
/// 采购金额
/// </summary>
public decimal? PurchaseAmount { get; set; }
/// <summary>
/// 上次采购时间
/// </summary>
public DateTime? LastPurchaseTime { get; set; }
/// <summary>
/// 最近30天具有采购行为的店铺SKU
/// </summary>
public IList<ProductSkuResponse> Recent30dProductSku { get; set; }
public PurchaserResponse()
{
CategoryList = new List<PurchaserExtendedInfoResponse>();
TagList = new List<PurchaserExtendedInfoResponse>();
Recent30dProductSku = new List<ProductSkuResponse>();
}
}
}