JdPoolDTO.cs 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 h5st { get; set; } = string.Empty;
  29. public string nodeName { get; set; } = string.Empty;
  30. public string end_point { get; set; } = string.Empty;
  31. public decimal current_amt { get; set; } = 0;
  32. public int current_daily_calls { get; set; } = 0;
  33. public int current_hourly_calls { get; set; } = 0;
  34. public decimal daily_income_limit { get; set; } = 0;
  35. public int daily_calls_limit { get; set; } = 0;
  36. public int hourly_calls_limit { get; set; } = 0;
  37. public decimal draw_balance { get; set; } = 0;
  38. public bool enable_parse { get; set; } = false;
  39. public bool enable_coupon { get; set; } = false;
  40. public bool enable_sync_order { get; set; } = false;
  41. public int time_range { get; set; } = 0;
  42. public int today_clickNum { get; set; } = 0;
  43. public decimal today_cosFee { get; set; } = 0;
  44. public decimal today_cosPrice { get; set; } = 0;
  45. public decimal today_finishCosFee { get; set; } = 0;
  46. public decimal today_finishCosPrice { get; set; } = 0;
  47. public int today_finishOrderNum { get; set; } = 0;
  48. public int today_orderNum { get; set; } = 0;
  49. public bool is_hide { get; set; } = false;
  50. public bool enable_call_stats { get; set; } = true;
  51. public bool other_api_enabled { get; set; } = false;
  52. public string other_api_platform_id { get; set; } = string.Empty;
  53. public string other_api_key { get; set; } = string.Empty;
  54. public bool other_api_non_numeric_required { get; set; } = true;
  55. }
  56. }