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

2 years ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Euro.Transfer.Model
  7. {
  8. /// <summary>
  9. /// 消息實體模型
  10. /// </summary>
  11. public class Message
  12. {
  13. /// <summary>
  14. ///
  15. /// </summary>
  16. public Message()
  17. {
  18. ConnectionIds = new List<string>();
  19. ToUserIds = new List<string>();
  20. }
  21. /// <summary>
  22. ///
  23. /// </summary>
  24. public MessageType Type { get; set; }
  25. /// <summary>
  26. ///
  27. /// </summary>
  28. public string ConnectionId { get; set; }
  29. /// <summary>
  30. ///
  31. /// </summary>
  32. public string ToOrgId { get; set; }
  33. /// <summary>
  34. ///
  35. /// </summary>
  36. public string ToUserId { get; set; }
  37. /// <summary>
  38. ///
  39. /// </summary>
  40. public List<string> ConnectionIds { get; set; }
  41. /// <summary>
  42. ///
  43. /// </summary>
  44. public List<string> ToUserIds { get; set; }
  45. /// <summary>
  46. ///
  47. /// </summary>
  48. public string Content { get; set; }
  49. /// <summary>
  50. ///
  51. /// </summary>
  52. public string GroupName { get; set; }
  53. /// <summary>
  54. ///
  55. /// </summary>
  56. public string Memo { get; set; }
  57. }
  58. }