using System;

namespace CloudGaming.GameModel.Db.Db_Ext;

/// <summary>
/// 用户登录日志表，每天每个用户只有一条数据
/// </summary>
public partial class T_User_LoginDay_Log
{
    public T_User_LoginDay_Log() { }

    /// <summary>
    /// 主键
    /// </summary>
    public virtual int Id { get; set; }

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

    /// <summary>
    /// ip地址
    /// </summary>
    public virtual string Ip { get; set; } = null!;

    /// <summary>
    /// 是否新用户
    /// </summary>
    public virtual bool IsNew { get; set; }

    /// <summary>
    /// 登录平台
    /// </summary>
    public virtual string PlatformType { get; set; } = null!;

    /// <summary>
    /// app版本
    /// </summary>
    public virtual string AppVersion { get; set; } = null!;

    /// <summary>
    /// 登录时间，天
    /// </summary>
    public virtual int CreateTimeDay { get; set; }

    /// <summary>
    /// 登录时间，小时
    /// </summary>
    public virtual int CreateTimeHour { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public virtual DateTime CreateTime { get; set; }

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

    /// <summary>
    /// 连续登录天数
    /// </summary>
    public virtual int LogInDay { get; set; }
}
