JdPoolDTO.cs 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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; } = DateTime.Now;
  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 nodeName { get; set; } = string.Empty;
  36. public string end_point { get; set; } = string.Empty;
  37. public decimal current_amt { get; set; } = 0;
  38. public int current_daily_calls { get; set; } = 0;
  39. public int current_hourly_calls { get; set; } = 0;
  40. public decimal daily_income_limit { get; set; } = 0;
  41. public int daily_calls_limit { get; set; } = 0;
  42. public int hourly_calls_limit { get; set; } = 0;
  43. public decimal draw_balance { get; set; } = 0;
  44. public bool enable_parse { get; set; } = false;
  45. public bool enable_coupon { get; set; } = false;
  46. public bool enable_sync_order { get; set; } = false;
  47. public bool enable_sync_report { get; set; } = false;
  48. public int time_range { get; set; } = 0;
  49. public int today_clickNum { get; set; } = 0;
  50. public decimal today_cosFee { get; set; } = 0;
  51. public decimal today_cosPrice { get; set; } = 0;
  52. public decimal today_finishCosFee { get; set; } = 0;
  53. public decimal today_finishCosPrice { get; set; } = 0;
  54. public int today_finishOrderNum { get; set; } = 0;
  55. public int today_orderNum { get; set; } = 0;
  56. public bool is_hide { get; set; } = false;
  57. public bool enable_call_stats { get; set; } = true;
  58. public bool other_api_enabled { get; set; } = false;
  59. public string other_api_platform_id { get; set; } = string.Empty;
  60. public string other_api_key { get; set; } = string.Empty;
  61. public bool other_api_non_numeric_required { get; set; } = true;
  62. public string riskStrategy { get; set; } = string.Empty;
  63. public int launchScene { get; set; } = -1;
  64. public string parse_type { get; set; } = string.Empty;
  65. }
  66. }