43 lines
807 B
C#
43 lines
807 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace MyCode.Project.Domain.Message.Response.WebSocket
|
|||
|
|
{
|
|||
|
|
public class ConnUser
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 用户id,为客户端的id,可能为用户ID,也可能为操作ID
|
|||
|
|
/// </summary>
|
|||
|
|
public long Id
|
|||
|
|
{
|
|||
|
|
get;
|
|||
|
|
set;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 0:报表使用
|
|||
|
|
/// </summary>
|
|||
|
|
public int Type
|
|||
|
|
{
|
|||
|
|
get;
|
|||
|
|
set;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 当前秒,用于区分多客户端连接的情况,可以为当前时间戳
|
|||
|
|
/// </summary>
|
|||
|
|
public long TimeStamp
|
|||
|
|
{
|
|||
|
|
get;
|
|||
|
|
set;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|