using System.Xml.Linq; namespace molilian.core { public enum PddUnionWorkMode { All = 0, SiteApi = 1, AffApi = 2, Crawler = 3, } public class PddPoolDTO { public int id { get; set; } public int duoId { get; set; } public string name { get; set; } = string.Empty; public string nodeName { get; set; } = string.Empty; public bool? proxyStatus { get; set; } public string end_point { get; set; } = string.Empty; public string app_key { get; set; } = string.Empty; public string app_secret { get; set; } = string.Empty; public string pid { get; set; } = string.Empty; public string access_token { get; set; } = string.Empty; public string refresh_token { get; set; } = string.Empty; public string company { get; set; } = string.Empty; public string description { get; set; } = string.Empty; public DateTime create_time { get; set; } = DateTime.Now; public DateTime last_time { get; set; } = DateTime.Now; public DateTime? login_time { get; set; } public bool status { get; set; } = false; public bool cookie_status { get; set; } = false; public PddUnionWorkMode work_mode { get; set; } = PddUnionWorkMode.SiteApi; public string cookies { get; set; } = string.Empty; public string riskCookie { get; set; } = string.Empty; public decimal daily_income_limit { get; set; } = 0; public int daily_calls_limit { get; set; } = 0; public int current_hourly_calls { get; set; } = 0; public int hourly_calls_limit { get; set; } = 0; public int current_daily_calls { get; set; } = 0; public int time_range { get; set; } = 0; public int rpm_limit { get; set; } = 0; public int cis_limit { get; set; } = 0; public decimal draw_balance { get; set; } = 0; public bool enable_parse { get; set; } = false; public bool enable_coupon { get; set; } = false; public bool enable_sync_revenue { get; set; } = false; public bool enable_sync_order { get; set; } = false; public bool is_hide { get; set; } = true; public bool enable_call_stats { get; set; } = true; public string parse_type { get; set; } = string.Empty; public string riskStrategy { get; set; } = string.Empty; public int launchScene { get; set; } = -1; } }