using System;

namespace HoneyBox.Model.Entities;

/// <summary>
/// 商品锁箱信息表，存储盲盒锁箱状态
/// </summary>
public partial class GoodsLock
{
    /// <summary>
    /// 锁箱ID
    /// </summary>
    public int Id { get; set; }

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

    /// <summary>
    /// 商品ID和箱号组合 (格式: goods_id_num)
    /// </summary>
    public string GoodsIdNum { get; set; } = null!;

    /// <summary>
    /// 过期时间 (Unix时间戳)
    /// </summary>
    public long EndTime { get; set; }

    /// <summary>
    /// 更新时间 (Unix时间戳)
    /// </summary>
    public long UpdateTime { get; set; }
}
