TkPoolDTO.cs 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. namespace molilian.core
  2. {
  3. public enum FakeClickLinkType
  4. {
  5. All = 0,
  6. H5 = 1,
  7. Deeplink = 2,
  8. }
  9. public class TkPoolDTO
  10. {
  11. public int id { get; set; }
  12. public string name { get; set; } = string.Empty;
  13. public string company { get; set; } = string.Empty;
  14. public string phone { get; set; } = string.Empty;
  15. public string description { get; set; } = string.Empty;
  16. public string note { get; set; } = string.Empty;
  17. public string tb_token { get; set; } = string.Empty;
  18. public string floorId { get; set; } = string.Empty;
  19. public string refpid { get; set; } = string.Empty;
  20. public string cookies { get; set; } = string.Empty;
  21. public string user_agent { get; set; } = string.Empty;
  22. public DateTime create_time { get; set; } = DateTime.Now;
  23. public DateTime last_time { get; set; } = DateTime.Now;
  24. public DateTime? login_time { get; set; }
  25. public bool status { get; set; }
  26. public string suspended_endpoint { get; set; } = string.Empty;
  27. public string nodeName { get; set; } = string.Empty;
  28. public bool? proxyStatus { get; set; }
  29. public decimal current_amt { get; set; } = 0;
  30. public decimal daily_income_limit { get; set; } = 0;
  31. public int daily_calls_limit { get; set; } = 0;
  32. public int current_hourly_calls { get; set; } = 0;
  33. public int hourly_calls_limit { get; set; } = 0;
  34. public int current_daily_calls { get; set; } = 0;
  35. public int time_range { get; set; } = 0;
  36. public int qps_limit { get; set; } = 0;
  37. /// <summary>
  38. /// 请求间隔(毫秒),N 毫秒内只允许 1 次,0 表示不限制
  39. /// </summary>
  40. public int cis_limit { get; set; } = 0;
  41. public decimal draw_balance { get; set; } = 0;
  42. public string api { get; set; } = string.Empty;
  43. public int api_id { get; set; } = 0;
  44. public string end_point { get; set; } = string.Empty;
  45. public bool enable_fake_click { get; set; } = false;
  46. public bool enable_order_summary_cache { get; set; } = true;
  47. public FakeClickLinkType fake_click_link_type { get; set; } = 0;
  48. public int fake_click_max { get; set; } = 0;
  49. public int fake_click_min { get; set; } = 0;
  50. public bool enable_parse { get; set; } = false;
  51. public bool enable_coupon { get; set; } = false;
  52. public bool enable_sync_order { get; set; } = false;
  53. public bool enable_promotionQuery { get; set; } = false;
  54. public bool enable_deep_url { get; set; } = false;
  55. /// <summary>
  56. /// 加入万能解析账号池,向其他账号提供解析能力。
  57. /// </summary>
  58. public bool enable_general_link_parse_pool { get; set; } = false;
  59. /// <summary>
  60. /// 使用万能解析账号池处理短链。
  61. /// </summary>
  62. public bool use_general_link_parse_pool { get; set; } = false;
  63. public string appkey { get; set; } = string.Empty;
  64. public string appSecret { get; set; } = string.Empty;
  65. public string open_pid { get; set; } = string.Empty;
  66. public string appkey2 { get; set; } = string.Empty;
  67. public string appSecret2 { get; set; } = string.Empty;
  68. public string open_pid2 { get; set; } = string.Empty;
  69. public bool is_banned { get; set; } = false;
  70. public bool is_hide { get; set; } = true;
  71. public bool enable_call_stats { get; set; } = true;
  72. public string parseEndpoint { get; set; } = string.Empty;
  73. public string related_account_ids { get; set; } = string.Empty;
  74. /// <summary>
  75. /// brw-浏览器,qapp-快应用
  76. /// </summary>
  77. public string riskStrategy { get; set; } = string.Empty;
  78. public int launchScene { get; set; } = -1;
  79. public bool useCouponLinkFirst { get; set; } = true;
  80. public string parse_type { get; set; } = string.Empty;
  81. public string strategy_id { get; set; } = string.Empty;
  82. public string riskCookie { get; set; } = string.Empty;
  83. public AiOpenRiskStatusDTO? aiopen_risk { get; set; }
  84. }
  85. }