using System;

namespace CloudGaming.Model.DbSqlServer.Db_Phone;

/// <summary>
/// 用户游玩记录表。玩一次游戏记录一条数据
/// </summary>
public partial class T_User_GameList: MultiTenantEntity
{
    public T_User_GameList() { }

    public virtual int Id { get; set; }

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

    /// <summary>
    /// 游戏Id
    /// </summary>
    public virtual string GameId { get; set; } = null!;

    /// <summary>
    /// 游玩时间，秒
    /// </summary>
    public virtual int PlaySeconds { get; set; }

    /// <summary>
    /// 游玩时间，分组数
    /// </summary>
    public virtual int PlayTime { get; set; }

    /// <summary>
    /// 渠道号
    /// </summary>
    public virtual string? Channel { get; set; }

    /// <summary>
    /// 状态
    /// </summary>
    public virtual int Status { get; set; }

    /// <summary>
    /// 修改时间，游戏结束时间
    /// </summary>
    public virtual DateTime UpdateTime { get; set; }

    /// <summary>
    /// 创建时间，游戏开始时间
    /// </summary>
    public virtual DateTime CreateTime { get; set; }

     /// <summary>
    /// 所属租户
    /// </summary>
    public override Guid TenantId { get; set; }
         
    /// <summary>
    /// 游戏会话id
    /// </summary>
    public virtual string? SessionId { get; set; }
}
