TkPoolDTO.cs 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. public decimal draw_balance { get; set; } = 0;
  38. public string api { get; set; } = string.Empty;
  39. public int api_id { get; set; } = 0;
  40. public string end_point { get; set; } = string.Empty;
  41. public bool enable_fake_click { get; set; } = false;
  42. public bool enable_order_summary_cache { get; set; } = true;
  43. public FakeClickLinkType fake_click_link_type { get; set; } = 0;
  44. public int fake_click_max { get; set; } = 0;
  45. public int fake_click_min { get; set; } = 0;
  46. public bool enable_parse { get; set; } = false;
  47. public bool enable_coupon { get; set; } = false;
  48. public bool enable_sync_order { get; set; } = false;
  49. public bool enable_promotionQuery { get; set; } = false;
  50. public bool enable_deep_url { get; set; } = false;
  51. /// <summary>
  52. /// 加入万能解析账号池,向其他账号提供解析能力。
  53. /// </summary>
  54. public bool enable_general_link_parse_pool { get; set; } = false;
  55. /// <summary>
  56. /// 使用万能解析账号池处理短链。
  57. /// </summary>
  58. public bool use_general_link_parse_pool { get; set; } = false;
  59. public string appkey { get; set; } = string.Empty;
  60. public string appSecret { get; set; } = string.Empty;
  61. public string open_pid { get; set; } = string.Empty;
  62. public string appkey2 { get; set; } = string.Empty;
  63. public string appSecret2 { get; set; } = string.Empty;
  64. public string open_pid2 { get; set; } = string.Empty;
  65. public bool is_banned { get; set; } = false;
  66. public bool is_hide { get; set; } = true;
  67. public bool enable_call_stats { get; set; } = true;
  68. public string parseEndpoint { get; set; } = string.Empty;
  69. public string related_account_ids { get; set; } = string.Empty;
  70. /// <summary>
  71. /// brw-浏览器,qapp-快应用
  72. /// </summary>
  73. public string riskStrategy { get; set; } = string.Empty;
  74. public int launchScene { get; set; } = -1;
  75. public bool useCouponLinkFirst { get; set; } = true;
  76. public string parse_type { get; set; } = string.Empty;
  77. public string strategy_id { get; set; } = string.Empty;
  78. public string riskCookie { get; set; } = string.Empty;
  79. public AiOpenRiskStatusDTO? aiopen_risk { get; set; }
  80. }
  81. }