TkEndpointConfigDTO.cs 940 B

1234567891011121314151617181920212223242526272829303132333435
  1. using dodohold.core;
  2. using System.Xml.Linq;
  3. namespace molilian.core
  4. {
  5. [Table("tk_endpoint_config")]
  6. public class TkEndpointConfigDTO
  7. {
  8. [Key]
  9. public int id { get; set; }
  10. public int tk_pool_id { get; set; }
  11. public int ep_id { get; set; }
  12. public string name { get; set; } = string.Empty;
  13. public string endpoint { get; set; } = string.Empty;
  14. public bool enable_coupon { get; set; } = false;
  15. public int daily_calls_limit { get; set; } = 0;
  16. public int current_daily_calls { get; set; } = 0;
  17. public int hourly_calls_limit { get; set; } = 0;
  18. public int current_hourly_calls { get; set; } = 0;
  19. public int interval_seconds { get; set; } = 0;
  20. public bool status { get; set; } = false;
  21. public int suspend_duration { get; set; } = 0;
  22. public DateTime last_call_time { get; set; } = DateTime.MinValue;
  23. }
  24. }