CpsPoolDTO.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. using dodohold.core;
  2. namespace molilian.core
  3. {
  4. [Table("cps_api_syle")]
  5. public class CpsApiStyleDTO
  6. {
  7. [Key]
  8. public int id { get; set; }
  9. public string style_code { get; set; }
  10. public string title { get; set; }
  11. public string sub_title { get; set; }
  12. public string style_name { get; set; }
  13. public string description { get; set; }
  14. public DateTime create_time { get; set; }
  15. public DateTime last_time { get; set; }
  16. public bool status { get; set; }
  17. }
  18. [Table("cps_pool")]
  19. public class CpsPoolDTO
  20. {
  21. [Key]
  22. public int id { get; set; }
  23. public int channel_id { get; set; }
  24. public string channel_code { get; set; }
  25. public string name { get; set; }
  26. public string end_point { get; set; }
  27. public string nodeName { get; set; }
  28. public string company { get; set; }
  29. public string description { get; set; }
  30. public DateTime create_time { get; set; }
  31. public DateTime last_time { get; set; }
  32. public bool status { get; set; }
  33. }
  34. [Table("cps_links")]
  35. public class CpsLinksDTO
  36. {
  37. [Key]
  38. public int id { get; set; }
  39. public int channel_id { get; set; }
  40. public string channel_code { get; set; }
  41. public string style_code { get; set; }
  42. public string pid { get; set; } = string.Empty;
  43. public string category { get; set; } = string.Empty;
  44. public string name { get; set; }
  45. public string description { get; set; }
  46. public DateTime create_time { get; set; }
  47. public DateTime last_time { get; set; }
  48. public bool status { get; set; }
  49. public string deeplink { get; set; }
  50. public string shortLinkurl { get; set; }
  51. public string token { get; set; }
  52. public DateTime start_time { get; set; }
  53. public DateTime end_time { get; set; }
  54. public int priority_weight { get; set; }
  55. public int daily_calls_limit { get; set; }
  56. public int hourly_calls_limit { get; set; }
  57. public int current_hourly_calls { get; set; }
  58. public int current_daily_calls { get; set; }
  59. public int time_range { get; set; }
  60. public string title { get; set; } = string.Empty;
  61. }
  62. }