yavsc/Yavsc.Server/ViewModels/Chat/ChatUserInfo.cs

32 lines
676 B
C#

using System.Collections.Generic;
using Yavsc.Models.Chat;
namespace Yavsc.ViewModels.Chat { 
public class ChatUserInfo : IChatUserInfo
{
7 years ago
public List<ChatConnection> Connections { get; set; }
public string UserId { get; set; }
public string UserName { get; set; }
public string Avatar { get; set; }
public string[] Roles { get; set; }
}
public interface IChatUserInfo
{
7 years ago
List<ChatConnection> Connections { get; set; }
string UserId { get; set; }
string UserName { get; set; }
string Avatar { get; set; }
string[] Roles { get; set; }
}
}