using System;

namespace HoneyBox.Model.Entities;

/// <summary>
/// 领主赏记录表，记录领主占领和挑战信息
/// </summary>
public partial class GoodsKingRank
{
    /// <summary>
    /// 主键ID
    /// </summary>
    public int Id { get; set; }

    /// <summary>
    /// 用户ID（领主）
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 商品ID
    /// </summary>
    public int GoodsId { get; set; }

    /// <summary>
    /// 占领时的抽奖次数（多少发晋升领主）
    /// </summary>
    public int Count { get; set; }

    /// <summary>
    /// 被挑战次数（其他人抽奖次数）
    /// </summary>
    public int ZNums { get; set; }

    /// <summary>
    /// 领主收益金额
    /// </summary>
    public decimal Money { get; set; }

    /// <summary>
    /// 关联的中奖记录ID
    /// </summary>
    public int OrderListId { get; set; }

    /// <summary>
    /// 成为领主的时间戳
    /// </summary>
    public int Addtime { get; set; }

    /// <summary>
    /// 结束领主的时间戳（0表示当前领主）
    /// </summary>
    public int EndTime { get; set; }
}
