using System;

namespace ObjectModel.Game
{
    public class UserDBEntity
    {
        public int UserID { get; set;}
        public string UserName { get; set;}
        public string avatar { get; set;}
        public string NickName { get; set;} // 旧的
        public string nickNameEm { get; set;} // 新的
        public DateTime RegTime { get; set;}
        public DateTime LastLoginTime { get; set;}
        public int Sex { get; set;}
        
        // 货币
        public long money { get; set;} // 金币
        public int mmnn { get; set;} // 钻石
    }
    
    public class UserGameGoldChangeStatisticsDBEntity
    {
        public long TotalChangeMoney;
        public long TotalMatchChangeMoney;
        public int TotalPlayCount;
    }
    
    /// <summary>
    /// 游戏游玩金币变更 (sh_log4 表)
    /// </summary>
    public class UserGameGoldChangeDBEntity
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int userid { get; set;}
        /// <summary>
        /// 结算后金额
        /// </summary>
        public long money_bak { get; set;}
        /// <summary>
        /// 游玩输赢
        /// </summary>
        public long money_pay { get; set;}
        /// <summary>
        /// 游戏ID
        /// </summary>
        public int game_id { get; set;}
        /// <summary>
        /// 比赛输赢（含报名费）
        /// </summary>
        public int kxgc_change { get; set;}
        /// <summary>
        ///  时间
        /// </summary>
        public DateTime time_change { get; set;}
        /// <summary>
        /// 初始金额
        /// </summary>
        public long hjha_loginmoney { get; set;}
        /// <summary>
        /// 游玩局数
        /// </summary>
        public int hjha_playcount { get; set;}
    }
    
    /// <summary>
    /// 玩家游戏排名 (金币排行)(tbUserBaseInfo_OneHour 表)
    /// </summary>
    public class UserGameRankDBEntity
    { 
        public int UserID { get; set;}
        public string UserName { get; set;}
        public string NickName { get; set;}
        public long hjha_Gold { get; set;}
    }
}