InterfaceBasicInfoEntity.cs 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. using System;
  2. using System.Collections.Generic;
  3. namespace WingCloudServer.GeneralDocTools.Model
  4. {
  5. public class APIModuleEntity
  6. {
  7. public bool IsEnumFolder { get; set; } = false;
  8. public bool IsNotificationFolder { get; set; } = false;
  9. public string DocDirectory { get; set; } = string.Empty;
  10. public List<InterfaceInfoEntity> MainModelList { get; set; } = new List<InterfaceInfoEntity>();
  11. public List<NotificationInfoEntity> NotificationModelList { get; set; } = new List<NotificationInfoEntity>();
  12. public DateTime CreateTime { get; set; } = DateTime.Now;
  13. }
  14. public class InterfaceInfoEntity
  15. {
  16. public List<MethodBasicEntity> MethodList { get; set; } = new List<MethodBasicEntity>();
  17. public string Value { get; set; } = string.Empty;
  18. //表示是二级还是三级,甚至更多
  19. public string ThirdValue { get; set; } = string.Empty;
  20. public int ValueType { get; set; } = 2;
  21. public string Url { get; set; } = "http://存储服务域名/";
  22. public List<OtherInterfaceInfoEntity> ThirdInterfaceList { get; set; } = new List<OtherInterfaceInfoEntity>();
  23. }
  24. public class OtherInterfaceInfoEntity
  25. {
  26. public string OtherValue { get; set; } = string.Empty;
  27. public int OtherType { get; set; } = 3;
  28. public List<MethodBasicEntity> MethodList { get; set; } = new List<MethodBasicEntity>();
  29. }
  30. public class InterfaceBasicInfoEntity
  31. {
  32. public string InterfaceNamespace { get; set; } = string.Empty;
  33. public string InterfaceName { get; set; } = string.Empty;
  34. public string InterfaceFullName { get; set; } = string.Empty;
  35. public string InterfaceSummary { get; set; } = string.Empty;
  36. public string MethodNamespace { get; set; } = string.Empty;
  37. }
  38. public class NotificationInfoEntity
  39. {
  40. public List<MemberEntity> MemberAPIList { get; set; } = new List<MemberEntity>();
  41. public List<NotificationInfoEntity> ChildNotificationEntityList { get; set; }= new List<NotificationInfoEntity>();
  42. public string CurrentLevelDirectory { get; set; } = string.Empty;
  43. public string ParamName { get; set; } = string.Empty;
  44. }
  45. }