QiFeng.ZWY.Model/Dto/CollectionDto.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QiFeng.LMSD.Model.Dto
{
public class CollectionDto
{
#region 默认属性
/// <summary>
/// Id
/// </summary>
public int Id { get; set; }
/// <summary>
/// 收藏类型(0游记 1商品)
/// </summary>
public int CollectionType { get; set; }
/// <summary>
/// 用户id
/// </summary>
public int ConsumerId { get; set; }
/// <summary>
/// 被收藏对象Id
/// </summary>
public int CollectedId { get; set; }
/// <summary>
/// IsDelete
/// </summary>
public bool IsDelete { get; set; }
#endregion
#region 扩展属性
/// <summary>
/// 用户账号
/// </summary>
public string UserName { get; set; }
/// <summary>
/// 收藏类型
/// </summary>
public string Type => CollectionType == 1 ? "商品" : "游记";
/// <summary>
/// 商品名称
/// </summary>
public string CommodityName { get; set; }
/// <summary>
/// 游记标题
/// </summary>
public string TravelsTitle { get; set; }
#endregion
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。