JdPoolDTO.cs 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. using dodohold.core;
  2. namespace molilian.core
  3. {
  4. public enum JdUnionWorkMode
  5. {
  6. None = 0,
  7. SiteApi = 1,
  8. AffApi = 2,
  9. Crawler = 3,
  10. Ddx = 4, //临时加的 0529
  11. JingFen = 5,
  12. ConvertSuperLink = 6,
  13. }
  14. public class JdPoolDTO
  15. {
  16. public int id { get; set; }
  17. public string name { get; set; } = string.Empty;
  18. public string pin { get; set; } = string.Empty;
  19. public string company { get; set; } = string.Empty;
  20. public string unionid { get; set; } = string.Empty;
  21. public string description { get; set; } = string.Empty;
  22. public string site_id { get; set; } = string.Empty;
  23. public string app_key { get; set; } = string.Empty;
  24. public string app_secret { get; set; } = string.Empty;
  25. public DateTime create_time { get; set; } = DateTime.Now;
  26. public DateTime last_time { get; set; } = DateTime.Now;
  27. public DateTime? login_time { get; set; }
  28. public bool status { get; set; }
  29. public JdUnionWorkMode work_mode { get; set; } = JdUnionWorkMode.SiteApi;
  30. public string user_agent { get; set; } = string.Empty;
  31. public string cookies { get; set; } = string.Empty;
  32. public string riskCookie { get; set; } = string.Empty;
  33. public string union_cookies { get; set; } = string.Empty;
  34. public string h5st { get; set; } = string.Empty;
  35. public string envStr { get; set; } = string.Empty;
  36. public string nodeName { get; set; } = string.Empty;
  37. public bool? proxyStatus { get; set; }
  38. public string end_point { get; set; } = string.Empty;
  39. public decimal current_amt { get; set; } = 0;
  40. public int current_daily_calls { get; set; } = 0;
  41. public int current_hourly_calls { get; set; } = 0;
  42. public decimal daily_income_limit { get; set; } = 0;
  43. public int daily_calls_limit { get; set; } = 0;
  44. public int hourly_calls_limit { get; set; } = 0;
  45. public decimal draw_balance { 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_sync_report { get; set; } = false;
  50. public int time_range { get; set; } = 0;
  51. public int today_clickNum { get; set; } = 0;
  52. public decimal today_cosFee { get; set; } = 0;
  53. public decimal today_cosPrice { get; set; } = 0;
  54. public decimal today_finishCosFee { get; set; } = 0;
  55. public decimal today_finishCosPrice { get; set; } = 0;
  56. public int today_finishOrderNum { get; set; } = 0;
  57. public int today_orderNum { get; set; } = 0;
  58. public bool is_hide { get; set; } = false;
  59. public bool enable_call_stats { get; set; } = true;
  60. public bool other_api_enabled { get; set; } = false;
  61. public string other_api_platform_id { get; set; } = string.Empty;
  62. public string other_api_key { get; set; } = string.Empty;
  63. public bool other_api_non_numeric_required { get; set; } = true;
  64. public string riskStrategy { get; set; } = string.Empty;
  65. public int launchScene { get; set; } = -1;
  66. public string parse_type { get; set; } = string.Empty;
  67. }
  68. }