using System;

namespace HoneyBox.Model.Entities;

/// <summary>
/// 用户道具卡表，存储用户拥有的道具卡信息
/// </summary>
public partial class UserItemCard
{
    /// <summary>
    /// 主键ID
    /// </summary>
    public int Id { get; set; }

    /// <summary>
    /// 用户ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 类型
    /// </summary>
    public byte Type { get; set; }

    /// <summary>
    /// 道具卡ID
    /// </summary>
    public int ItemCardId { get; set; }

    /// <summary>
    /// 名称
    /// </summary>
    public string Title { get; set; } = string.Empty;

    /// <summary>
    /// 状态：1=未使用，2=已使用
    /// </summary>
    public byte Status { get; set; }

    /// <summary>
    /// 抵扣的订单ID
    /// </summary>
    public int? OrderId { get; set; }

    /// <summary>
    /// 创建时间戳
    /// </summary>
    public int Addtime { get; set; }

    /// <summary>
    /// 更新时间戳
    /// </summary>
    public int Updatetime { get; set; }

    /// <summary>
    /// 删除时间戳
    /// </summary>
    public int? Deltime { get; set; }
}
