Files
StoreWeb/Plugins/CloudProduct/Dtos/UserFavoriteItem.cs
T
2026-11-06 19:25:36 +08:00

57 lines
1.5 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace Store.Modules.CloudProduct.Dtos
{
/// <summary>
/// 用户收藏商品(索引文档回显模型)
/// </summary>
public class UserFavoriteItem
{
/// <summary>收藏记录自增主键</summary>
public long Id { get; set; }
/// <summary>用户名</summary>
public string UserName { get; set; } = string.Empty;
/// <summary>收藏分组ID(0 表示默认分组)</summary>
public int GroupId { get; set; }
/// <summary>收藏分组名</summary>
public string GroupName { get; set; } = string.Empty;
/// <summary>商品编号</summary>
public long GoodsId { get; set; }
/// <summary>平台类型</summary>
public byte Platform { get; set; }
/// <summary>商品标题</summary>
public string Title { get; set; } = string.Empty;
/// <summary>缩略图</summary>
public string? ThumbUrl { get; set; }
/// <summary>一级类目ID</summary>
public int? CatId1 { get; set; }
/// <summary>二级类目ID</summary>
public int? CatId2 { get; set; }
/// <summary>三级类目ID</summary>
public int? CatId3 { get; set; }
/// <summary>四级类目ID</summary>
public int? CatId4 { get; set; }
/// <summary>最低价快照(分)</summary>
public long? MinPrice { get; set; }
/// <summary>销量</summary>
public int SoldQuantity { get; set; }
/// <summary>收藏时间</summary>
public DateTime CreatedAt { get; set; }
/// <summary>
/// 安全检测
/// </summary>
public bool? IsSafe { get; set; }
}
}