JdPoolDTO.cs 2.9 KB

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