CpsPoolDTO.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using dodohold.core;
  2. namespace molilian.core
  3. {
  4. [Table("cps_pool")]
  5. public class CpsPoolDTO
  6. {
  7. [Key]
  8. public int id { get; set; }
  9. public int channel_id { get; set; }
  10. public string channel_code { get; set; }
  11. public string name { get; set; }
  12. public string end_point { get; set; }
  13. public string nodeName { get; set; }
  14. public string company { get; set; }
  15. public string description { get; set; }
  16. public DateTime create_time { get; set; }
  17. public DateTime last_time { get; set; }
  18. public bool status { get; set; }
  19. }
  20. [Table("cps_links")]
  21. public class CpsLinksDTO
  22. {
  23. [Key]
  24. public int id { get; set; }
  25. public int channel_id { get; set; }
  26. public string channel_code { get; set; }
  27. public string pid { get; set; } = string.Empty;
  28. public string category { get; set; } = string.Empty;
  29. public string name { get; set; }
  30. public string description { get; set; }
  31. public DateTime create_time { get; set; }
  32. public DateTime last_time { get; set; }
  33. public bool status { get; set; }
  34. public string deeplink { get; set; }
  35. public string token { get; set; }
  36. public DateTime start_time { get; set; }
  37. public DateTime end_time { get; set; }
  38. public int priority_weight { get; set; }
  39. public int time_range { get; set; }
  40. }
  41. }