KsPoolDTO.cs 2.3 KB

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