JdPoolDTO.cs 2.4 KB

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