You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.4 KiB
60 lines
1.4 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Euro.Transfer.Model
|
|
{
|
|
/// <summary>
|
|
/// 消息實體模型
|
|
/// </summary>
|
|
public class Message
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public Message()
|
|
{
|
|
ConnectionIds = new List<string>();
|
|
|
|
ToUserIds = new List<string>();
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public MessageType Type { get; set; }
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string ConnectionId { get; set; }
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string ToOrgId { get; set; }
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string ToUserId { get; set; }
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public List<string> ConnectionIds { get; set; }
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public List<string> ToUserIds { get; set; }
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string Content { get; set; }
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string GroupName { get; set; }
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string Memo { get; set; }
|
|
}
|
|
}
|