31 lines
714 B
C#
31 lines
714 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ChessGameDomain
|
|
{
|
|
public class RedisChessGameUser
|
|
{
|
|
|
|
public string Cid { get; set; }
|
|
public string userId { get; set; }
|
|
public string userName { get; set; }
|
|
|
|
public string userAvatar { get; set; }
|
|
|
|
public int type { get; set; }
|
|
public bool IsLeave { get; set; } = false;
|
|
|
|
public bool IsReady { get; set; } = false;
|
|
public long Gold { get; set; } = 0;
|
|
|
|
public long DisconnectTime { get; set; } = 0;
|
|
|
|
public bool IsAfk { get; set; } = false;
|
|
|
|
public long AfkTime { get; set; } = 0;
|
|
}
|
|
}
|