using System.Collections.Generic; namespace WebApp.Models.Hub { /// /// 消息實體模型 /// public class Message { /// /// public Message() { ConnectionIds = new List(); ToUserIds = new List(); } /// /// public MessageType Type { get; set; } /// /// public string ConnectionId { get; set; } /// /// public string ToOrgId { get; set; } /// /// public string ToUserId { get; set; } /// /// public List ConnectionIds { get; set; } /// /// public List ToUserIds { get; set; } /// /// public string Content { get; set; } /// /// public string GroupName { get; set; } /// /// public string Memo { get; set; } } }