32 lines
668 B
C#
32 lines
668 B
C#
using System.Collections.Generic;
|
||
using Yavsc.Models.Chat;
|
||
|
||
namespace Yavsc.ViewModels.Chat {
|
||
public class ChatUserInfo : IChatUserInfo
|
||
{
|
||
|
||
public List<Connection> 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
|
||
{
|
||
List<Connection> Connections { get; set; }
|
||
string UserId { get; set; }
|
||
|
||
string UserName { get; set; }
|
||
|
||
string Avatar { get; set; }
|
||
|
||
string[] Roles { get; set; }
|
||
}
|
||
}
|