using System;

namespace CloudGaming.GameModel.Db.Db_Ext;

/// <summary>
/// 用户登录日志表
/// </summary>
public partial class T_User_Login_Log
{
    public T_User_Login_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 int LoginType { 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!;
}
