JdPoolDTO.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 nodeName { get; set; } = string.Empty;
  28. public string end_point { get; set; } = string.Empty;
  29. public decimal current_amt { get; set; } = 0;
  30. public int current_daily_calls { get; set; } = 0;
  31. public int current_hourly_calls { get; set; } = 0;
  32. public decimal daily_income_limit { get; set; } = 0;
  33. public int daily_calls_limit { get; set; } = 0;
  34. public int hourly_calls_limit { get; set; } = 0;
  35. public decimal draw_balance { get; set; } = 0;
  36. public bool enable_parse { get; set; } = false;
  37. public bool enable_coupon { get; set; } = false;
  38. public bool enable_sync_order { get; set; } = false;
  39. public int time_range { get; set; } = 0;
  40. }
  41. }