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.

34 lines
828 B

2 years ago
  1. using System.Collections.Generic;
  2. namespace EasyBL.WebApi.Message
  3. {
  4. /// <summary>
  5. /// Base of all message
  6. /// </summary>
  7. public class MessageBase
  8. {
  9. public MessageBase()
  10. {
  11. DATA = new Dictionary<string, object>();
  12. }
  13. /// <summary>
  14. /// 輔助Plugin Routing
  15. /// </summary>
  16. public string PROJECT { get; set; }
  17. /// <summary>
  18. /// 輔助Plugin Routing
  19. /// </summary>
  20. public string PROJECTVER { get; set; }
  21. /// <summary>
  22. /// 區分此Message主要用途分類
  23. /// </summary>
  24. public string MODULE { get; set; }
  25. /// 區分此Message次要用途分類 </summary>
  26. public string TYPE { get; set; }
  27. public Dictionary<string, object> DATA { get; set; }
  28. }
  29. }