using dodohold.core; using System.Xml.Linq; namespace molilian.core { [Table("tk_endpoint_config")] public class TkEndpointConfigDTO { [Key] public int id { get; set; } public int tk_pool_id { get; set; } public int ep_id { get; set; } public string name { get; set; } = string.Empty; public string endpoint { get; set; } = string.Empty; public bool enable_coupon { get; set; } = false; public int daily_calls_limit { get; set; } = 0; public int current_daily_calls { get; set; } = 0; public int hourly_calls_limit { get; set; } = 0; public int current_hourly_calls { get; set; } = 0; public int interval_seconds { get; set; } = 0; public bool status { get; set; } = false; public int suspend_duration { get; set; } = 0; public DateTime last_call_time { get; set; } = DateTime.MinValue; } }